from pyChatGPT import ChatGPT
api = ChatGPT(auth_type='openai', email=[REDACTED], password=[REDACTED],
twocaptcha_apikey=[REDACTED],
verbose=True,
login_cookies_path='/tmp',
proxy='http://127.0.0.1:8080',
moderation=False)
I get the following error:
Traceback (most recent call last):
File "/[REDACTED]/test.py", line 1, in <module>
from pyChatGPT import ChatGPT
ImportError: cannot import name 'ChatGPT' from 'pyChatGPT' (unknown location)
I tried installing the module with pip install -U pyChatGPT as well, but the error persists.
After installing pyChatGPT in the following way:
and running a script with the following code:
I get the following error:
I tried installing the module with
pip install -U pyChatGPT
as well, but the error persists.