ChatterBot icon indicating copy to clipboard operation
ChatterBot copied to clipboard

ModuleNotFoundError: No module named 'chatterbot.storage'; 'chatterbot' is not a package

Open ivasve opened this issue 3 years ago • 0 comments

This issue has been here before, it's closed, but I haven't found a solution there. I installed chatterbot with 'clone' from Github. Then I created a new file ChatterBot/chatterbot2.py. I copied all the commands from the Chatterbot.io Docs and ran the files. I received this error for the original file chatterbot.py (which I downloaded from Github). How can I solve it? Thanks a lot.

Traceback (most recent call last):
  File "...\ChatterBot\chatterbot\chatterbot2.py", line 1, in <module>
    from chatterbot import ChatBot
  File "...\ChatterBot\chatterbot\chatterbot.py", line 2, in <module>
    from chatterbot.storage import StorageAdapter
ModuleNotFoundError: No module named 'chatterbot.storage'; 'chatterbot' is not a package

ivasve avatar Jul 02 '22 07:07 ivasve