ModuleNotFoundError: No module named 'ChatterBot'

Answered

I'm getting a ModuleNotFoundError, however there is no red line under the module name when importing and the module shows up in the interpreter.

0
1 comment
Official comment

Hi,

  1. Move bot.py from venv folder to the project root - ChatBot. venv is your project virtual environment. You should not store your custom files inside.
  2. Correct import is from chatterbot import ChatBot, see the official docs.

Cheers.

Please sign in to leave a comment.