Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback (most recent call last) #17

Open
panchenglei opened this issue Feb 17, 2023 · 2 comments
Open

Traceback (most recent call last) #17

panchenglei opened this issue Feb 17, 2023 · 2 comments

Comments

@panchenglei
Copy link

``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
Copy link

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

@shanghaistoneman
Copy link

shanghaistoneman commented Mar 1, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants