I am using python 3.7.2. I downloaded chatterbot using:
pip install -U chatterbot==1.0.4
but the code doesn't recognise chatterbot but it recognises ChatterBot, but when ran, I get this error:
File "e:/PythonProjects/Projects/ChatterBot/Bot.py", line 3, in <module>
from ChatterBot import ChatBot
ModuleNotFoundError: No module named 'ChatterBot'
Why is this? Full code:
from ChatterBot import ChatBot
chatbot = ChatterBot.ChatBot("Chatpot")
exit_conditions = (":q", "quit", "exit")
while True:
query = input("> ")
if query in exit_conditions:
break
else:
print(f" {chatbot.get_response(query)}")