Files
codex-reg/INSTALL.md
82f8ea04cd Initial commit
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-07 23:00:30 +08:00

39 lines
672 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 安装与使用说明
## 核心修复
问题macOS 系统 Python 不允许直接安装第三方包。
解决:创建虚拟环境。
```bash
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```
## 使用方法
```bash
# 激活虚拟环境
source venv/bin/activate
# 运行脚本
python main.py --proxy http://127.0.0.1:7890 --once
```
或直接用:
```bash
./venv/bin/python main.py --proxy http://127.0.0.1:7890 --once
```
## 参数
| 参数 | 说明 |
|------|------|
| `--proxy` | 代理地址 |
| `--once` | 只运行一次 |
| `--sleep-min` | 循环最短等待(秒) |
| `--sleep-max` | 循环最长等待(秒) |