RockChinQ / qcg-installer

ChatGPT QQ 机器人的自动安装器,自动化部署,适用于QChatGPT项目: https://github.com/RockChinQ/QChatGPT
GNU Affero General Public License v3.0
355 stars 19 forks source link

[BUG]运行run-bot.bat报错 No module named 'pkg.openai' #24

Closed pengxingyang02 closed 1 year ago

pengxingyang02 commented 1 year ago

运行环境

描述漏洞 主程序报错

完整报错信息

E:\bot\QChatGPT>..\python\python.exe main.py
Traceback (most recent call last):
  File "E:\bot\QChatGPT\main.py", line 103, in <module>
    main()
  File "E:\bot\QChatGPT\main.py", line 52, in main
    import pkg.openai.manager
ModuleNotFoundError: No module named 'pkg.openai'
RockChinQ commented 1 year ago

尝试 #15

RockChinQ commented 1 year ago

哦你这是不是文件不全啊,看看pkg目录下有什么文件

RockChinQ commented 1 year ago

系统上python环境过于复杂,建议手动部署或docker部署