尝试导入“ ChatBot”时出现以下错误:
>>> from chatterbot import ChatBot
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/chatterbot/__init__.py", line 4, in <module>
from .chatterbot import ChatBot
File "/usr/local/lib/python2.7/dist-packages/chatterbot/chatterbot.py", line 2, in <module>
from chatterbot.storage import StorageAdapter
ImportError: No module named storage
>>>
文档https://github.com/gunthercox/ChatterBot声明可以简单运行:
pip install chatterbot
我做到了,也尝试了--user。同样的问题。