docs: 添加 uv 使用说明

This commit is contained in:
Debug Assistant
2026-02-18 16:08:52 +08:00
parent 7ae2452515
commit 91b187903c

View File

@@ -34,6 +34,16 @@
## 安装
### 方式一:使用 uv推荐
```bash
# 创建虚拟环境并安装依赖
uv venv
uv pip install -r requirements.txt
```
### 方式二:使用 pip
```bash
pip install -r requirements.txt
```
@@ -61,6 +71,10 @@ cp .env.example .env
双击运行 `TurnstileSolver.bat` 或执行:
```bash
# 使用 uv推荐
uv run python api_solver.py --browser_type camoufox --thread 5 --debug
# 或使用传统方式
python api_solver.py --browser_type camoufox --thread 5 --debug
```
@@ -71,6 +85,10 @@ python api_solver.py --browser_type camoufox --thread 5 --debug
新开一个终端,运行:
```bash
# 使用 uv推荐
uv run grok.py
# 或使用传统方式
python grok.py
```