UFund-Me / Qbot

[🔥updating ...] AI 自动量化交易机器人(完全本地部署) AI-powered Quantitative Investment Research Platform. 📃 online docs: https://ufund-me.github.io/Qbot ✨ :news: qbot-mini: https://github.com/Charmve/iQuant
https://github.com/Charmve
MIT License
7.62k stars 1.06k forks source link

Windows环境下安装Python依赖时报错 #73

Open ghost opened 11 months ago

ghost commented 11 months ago

🐛 Bug Description

Windows环境下安装Python依赖时报错,错误显示 AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?

To Reproduce

  1. in windows terminal (powershell)
  2. git clone https://github.com/UFund-Me/Qbot.git
  3. cd .\Qbot\
  4. pip install -r .\requirements.txt

Expected Behavior

正常应该安装成功

Screenshot

image

Environment

Note: User could run cd scripts && python collect_info.py all under project directory to get system information and paste them here directly.

Charmve commented 5 months ago

推荐使用python 3.8、3.9;可以直接运行python main.py 按照提示缺失的module pip手动安装,依赖库不多,很快可以安装完