-
Notifications
You must be signed in to change notification settings - Fork 442
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
[BUG] Cannot import module pychatgpy #138
Comments
You need to update your python version 3.8+ |
I have python 3.10 it doesn't work |
solved by upgrading to python 3.11 |
Ok.Good luck. |
I met it too.But upgrading didnt work. |
I'm facing the same error on python 3.10. Anyone has solved this issue? |
I knew the problem I met.I installed the wrong library and installed it as another project called 'pychatgpt', when in fact the library is called 'chatgptpy'. After switching to the correct library, it worked successfully.But the found this project cannot be used for now. Just look for another one. |
For everyone facing this issue due to a wrong previous installation, here's the solution for Windows. Try using pipenv:
After successful installation of pipenv, you'll see two paths (/scripts, /Site-Packages) - add those to your environment variables. Open a new prompt and create a new pipenv:
Now install the correct library
It should work now. |
installed chatgptpy using:
pip install chatgptpy --upgrade
however, my code has a problem
from pychatgpt import Chat, Options
this line gives an error
ModuleNotFoundError: No module named 'pychatgpt'
help?
The text was updated successfully, but these errors were encountered: