anyidea / chatgpt-dingtalk-bot

Integrate browser-based ChatGPT with dingtalk chatbot.
MIT License
42 stars 1 forks source link

不使用docker部署,请问配置文件怎么配 #27

Closed ezrajiang closed 9 months ago

ezrajiang commented 1 year ago

如果不使用docker部署,请问配置文件怎么配,必须安装的Python库有哪些?

anyidea commented 1 year ago

参考

CleanShot 2023-08-21 at 15 00 36@2x

配置文件直接复制 .env.dist 重命名为.env并且根据自己情况修改变量即可

ezrajiang commented 1 year ago

参考 CleanShot 2023-08-21 at 15 00 36@2x 配置文件直接复制 .env.dist 重命名为.env并且根据自己情况修改变量即可

报这个错误 Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/content/chatgpt-dingtalk-bot/chatbot/main.py", line 1, in from .main import main File "/content/chatgpt-dingtalk-bot/chatbot/main.py", line 3, in from dingtalk_stream import AckMessage ModuleNotFoundError: No module named 'dingtalk_stream'