EASYChatGPT icon indicating copy to clipboard operation
EASYChatGPT copied to clipboard

Traceback (most recent call last)

Open panchenglei opened this issue 2 years ago • 2 comments

``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'

panchenglei avatar Feb 17 '23 12:02 panchenglei

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

skychecker avatar Feb 19 '23 00:02 skychecker

我修改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的版本问题

shanghaistoneman avatar Mar 01 '23 08:03 shanghaistoneman