Description
我在macos系统按照readme进行环境安装,遇到报错
❯ make setup
==> Creating virtual environment...
/usr/bin/python3 -m venv .venv
.venv/bin/pip install --upgrade pip
Requirement already satisfied: pip in ./.venv/lib/python3.9/site-packages (26.0.1)
.venv/bin/pip install -e ".[dev]"
Obtaining file:///Users/zuoliang/Documents/%E9%A1%B9%E7%9B%AE/QuantGPT
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
INFO: pip is looking at multiple versions of quantgpt to determine which version is compatible with other requirements. This could take a while.
ERROR: Package 'quantgpt' requires a different Python: 3.9.6 not in '>=3.10'
make: *** [setup] Error 1
然后问ai说版本不匹配,我复查了ReadMe文件发现说可以支持3.11 ,这个算bug还是文档错误?
AI建议修改为:
brew install python
rm -rf .venv
make setup PYTHON="$(command -v python3)"
Steps to Reproduce
- 使用3.10的macos进行环境安装
- 运行 make setup
Factor Expression (if applicable)
No response
Environment
Local (SQLite)
Python Version
3.10
Error Logs
❯ make setup
==> Creating virtual environment...
/usr/bin/python3 -m venv .venv
.venv/bin/pip install --upgrade pip
Requirement already satisfied: pip in ./.venv/lib/python3.9/site-packages (26.0.1)
.venv/bin/pip install -e ".[dev]"
Obtaining file:///Users/zuoliang/Documents/%E9%A1%B9%E7%9B%AE/QuantGPT
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
INFO: pip is looking at multiple versions of quantgpt to determine which version is compatible with other requirements. This could take a while.
ERROR: Package 'quantgpt' requires a different Python: 3.9.6 not in '>=3.10'
make: *** [setup] Error 1
Description
我在macos系统按照readme进行环境安装,遇到报错
然后问ai说版本不匹配,我复查了ReadMe文件发现说可以支持3.11 ,这个算bug还是文档错误?
AI建议修改为:
brew install python rm -rf .venv make setup PYTHON="$(command -v python3)"Steps to Reproduce
Factor Expression (if applicable)
No response
Environment
Local (SQLite)
Python Version
3.10
Error Logs