Rebuild broken .venv when activate is missing after ensurepip failure.
Half-created venvs often keep bin/python3 without activate; directory existence is not enough. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -5,6 +5,14 @@
|
||||
|
||||
---
|
||||
|
||||
## 2026-07-29 — 部署:半截 .venv 必须重建(缺 activate)
|
||||
|
||||
### 变更
|
||||
|
||||
1. 判定 venv 可用改为同时检查 `bin/activate` + `bin/python3`(仅有目录或仅有 python 仍会删掉重建)。
|
||||
|
||||
---
|
||||
|
||||
## 2026-07-29 — 部署:自动安装 python3-venv(ensurepip)
|
||||
|
||||
### 变更
|
||||
|
||||
Reference in New Issue
Block a user