labteral / chatgpt-python

Unofficial Python SDK for OpenAI's ChatGPT

Home Page:https://labteral.github.io/chatgpt-python/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No module named chatgpt.__main__; 'chatgpt' is a package and cannot be directly executed

Nesonica opened this issue · comments

When running:

(venv) PS C:\Users\Nesin\PycharmProjects\chatgpt-python> python -m chatgpt

I get this error:

C:\Users\Nesin\PycharmProjects\chatgpt-python\venv\Scripts\python.exe: No module named chatgpt.main; 'chatgpt' is a package and cannot be directly executed

How can I solve this?