M
M
Marina18022021-11-16 23:07:31
Python
Marina1802, 2021-11-16 23:07:31

How to install chatbot?

It seems that I installed it through the interpreter in paycharm, but for some reason there was an error, what should I do?

Traceback (most recent call last):
  File "C:\Users\markh\pythonProject\main.py", line 4, in <module>
    from chatterbot import ChatBot
  File "D:\AllProjects\newLab\lib\site-packages\chatterbot\__init__.py", line 4, in <module>
    from .chatterbot import ChatBot
  File "D:\AllProjects\newLab\lib\site-packages\chatterbot\chatterbot.py", line 3, in <module>
    from chatterbot.logic import LogicAdapter
  File "D:\AllProjects\newLab\lib\site-packages\chatterbot\logic\__init__.py", line 1, in <module>
    from chatterbot.logic.logic_adapter import LogicAdapter
  File "D:\AllProjects\newLab\lib\site-packages\chatterbot\logic\logic_adapter.py", line 3, in <module>
    from chatterbot.search import IndexedTextSearch
  File "D:\AllProjects\newLab\lib\site-packages\chatterbot\search.py", line 1, in <module>
    from chatterbot.conversation import Statement
  File "D:\AllProjects\newLab\lib\site-packages\chatterbot\conversation.py", line 1, in <module>
    from pytz import UTC
ModuleNotFoundError: No module named 'pytz'

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question