Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors while checking chatterbot version #2181

Open
anukaal opened this issue Jul 17, 2021 · 2 comments
Open

errors while checking chatterbot version #2181

anukaal opened this issue Jul 17, 2021 · 2 comments

Comments

@anukaal
Copy link

anukaal commented Jul 17, 2021

python -m chatterbot --version
Traceback (most recent call last):
File "/usr/local/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 188, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/local/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 147, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/local/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 111, in _get_module_details
import(pkg_name)
File "/usr/local/lib/python3.9/site-packages/chatterbot/init.py", line 4, in
from .chatterbot import ChatBot
File "/usr/local/lib/python3.9/site-packages/chatterbot/chatterbot.py", line 3, in
from chatterbot.logic import LogicAdapter
File "/usr/local/lib/python3.9/site-packages/chatterbot/logic/init.py", line 1, in
from chatterbot.logic.logic_adapter import LogicAdapter
File "/usr/local/lib/python3.9/site-packages/chatterbot/logic/logic_adapter.py", line 3, in
from chatterbot.search import IndexedTextSearch
File "/usr/local/lib/python3.9/site-packages/chatterbot/search.py", line 1, in
from chatterbot.conversation import Statement
File "/usr/local/lib/python3.9/site-packages/chatterbot/conversation.py", line 1, in
from pytz import UTC
ModuleNotFoundError: No module named 'pytz'

@cryokesh34
Copy link

Seems like you are missing a module. Try pip install pytz.

@Mohammad699
Copy link

Same issue and the module is installed

    `C:\Users\Original\Downloads>pip install pytz
      Requirement already satisfied: pytz in c:\users\original\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (2021.3)`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants