nukeador / chatgpt-tegram-bot

A simple bot for Telegram that allows interaction with ChatGPT (with voice notes and support for generating images).
GNU Affero General Public License v3.0
15 stars 7 forks source link

ModuleNotFoundError: No module named 'revChatGPT.revChatGPT' #2

Open OliverRovesik opened 1 year ago

OliverRovesik commented 1 year ago

After running the project, I got this error. Then I changed 'revChatGPT.revChatGPT' into 'revChatGPT'. Later I ran the python project, and this is what I got :Traceback (most recent call last): File "/Users/oliver/chatgpt-tegram-bot-master/chatgpt-telegram.py", line 5, in from revChatGPT import Chatbot ImportError: cannot import name 'Chatbot' from 'revChatGPT' (/Users/oliver/Library/Python/3.9/lib/python/site-packages/revChatGPT/init.py)

How do I solve this?

nukeador commented 1 year ago

Did you install the requirements first?

https://github.com/nukeador/chatgpt-tegram-bot#installation

The revChatGPT python module should be installed in your system

https://github.com/nukeador/chatgpt-tegram-bot/blob/master/requirements.txt#L3

If the error is still present maybe they changed something on the revChatGPT. Which version was installed?