docs: require Python 3.10 for obfuscated lib; prefer Ubuntu 22.04

Reject 3.12+ in setup_env to avoid bad marshal data on new servers.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-18 12:15:21 +08:00
parent 1d2bdc3aa1
commit af0fbc3e6f
6 changed files with 53 additions and 15 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
## 二,前置条件
1. **Python 3.10+**,`python3-venv`,`pip`.
1. **Python 3.10 或 3.11**(推荐 3.10;勿用 3.12),`python3-venv`,`pip`。完整环境见 [docs/ubuntu-server.md](../docs/ubuntu-server.md)。
2. **Node.js + npm**(用于安装 PM2):`sudo npm i -g pm2`.
3.`crypto_monitor_*` 目录已 **`cp .env.example .env`** 并填好 API 密钥.
4. 端口无冲突:`5100`,`15200``15202`,各实例 `APP_PORT`(5000/5001/5004).