AIGCT / EASYChatGPT

This is an application project of 'chatgpt',only applicable to desktop environment.
559 stars 691 forks source link

Traceback (most recent call last) #17

Open panchenglei opened 1 year ago

panchenglei commented 1 year ago

``Traceback (most recent call last): File "C:\Users\pcl\Downloads\EASYChatGPT-main\EASYChatGPT-main\app.py", line 1, in from bbot import run File "C:\Users\pcl\Downloads\EASYChatGPT-main\EASYChatGPT-main\bbot.py", line 1, in from revChatGPT.Official import Chatbot ModuleNotFoundError: No module named 'revChatGPT.Official'

skychecker commented 1 year ago

打开bbot.py,把第一行import revChatGPT.Officail改成import revChatGPT.Unoffical

shanghaistoneman commented 1 year ago

我修改bbot.py后,再次运行app.py,结果报错: ModuleNotFoundError: No module named 'tls_client'

pip install tls-client后,又报错缺少module:undetected_chromedriver,安装pip install undetected-chromedriver后,又报错: Traceback (most recent call last): File "F:\工具软件\ChatGPT\EASYChatGPT-main\app.py", line 1, in from bbot import run File "F:\工具软件\ChatGPT\EASYChatGPT-main\bbot.py", line 8, in chatbot = Chatbot(api_key=openai_key) TypeError: Chatbot.init() got an unexpected keyword argument 'api_key'

查看了bbot.py第8行写了:chatbot = Chatbot(api_key=openai_key) ,但在Unoffical.py的chatbot的初始化里没有api_key,似乎是revchatGPT的版本问题