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]ModuleNotFoundError: No module named 'pkg' #40

Closed Yanyusama closed 1 year ago

Yanyusama commented 1 year ago

运行环境

描述漏洞 在运行run.bot.bat报错

完整报错信息

D:\QQchatGPT>cd QChatGPT

D:\QQchatGPT\QChatGPT>..\python\python.exe main.py Traceback (most recent call last): File "D:\QQchatGPT\QChatGPT\main.py", line 27, in import pkg.utils.context ModuleNotFoundError: No module named 'pkg'

D:\QQchatGPT\QChatGPT>pause 请按任意键继续. . . image image

RockChinQ commented 1 year ago

https://github.com/RockChinQ/QChatGPT/issues/305
主机上python环境复杂,请使用主程序仓库文档中的手动部署步骤进行部署