[BUG] Cannot import module pychatgpy
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?
You need to update your python version 3.8+
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 now have issue: https://github.com/rawandahmad698/PyChatGPT/issues/133
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:
pip install 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:
pipenv shell
Now install the correct library chatgptpy:
pip install chatgptpy --upgrade
It should work now.