AIGCT/EASYChatGPT

Traceback (most recent call last)

Opened this issue · 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'

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

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