我是一名初学者,正在使用 RASA 框架开发一个 Chatbot 项目。当我尝试使用“pip install rasa”命令或使用“pip install -r requirements.txt”在require.txt [快照附加]中的依赖项安装RASA时,我遇到了以下错误。为了解决这个问题,我更改了 Requirement.txt 中的关注依赖版本,但即使这样也帮不了我。
例如在以下情况下,每个日志都需要“fbmessenger~=6.0”而不是版本 5.0.0(现有的)。
错误:rasa 1.3.9 要求 fbmessenger~=6.0,但您将拥有不兼容的 fbmessenger 5.0.0。
如果我在 require.txt 文件中将版本 5.0 更改为 6.0 并运行命令,那么它将再次抛出错误,现在需要 5.0 版本。喜欢
错误:rasa 1.2 要求 fbmessenger~=5.0,但您将拥有不兼容的 fbmessenger 6.0.0。
错误跟踪:-
ERROR: tensorflow 1.14.0 has requirement wrapt>=1.11.1, but you'll have wrapt 1.10.0 which is incompatible.
ERROR: rasa 1.3.9 has requirement fbmessenger~=6.0, but you'll have fbmessenger 5.0.0 which is incompatible.
ERROR: rasa 1.3.9 has requirement matplotlib~=3.0, but you'll have matplotlib 2.0.0 which is incompatible.
ERROR: rasa 1.3.9 has requirement packaging~=19.0, but you'll have packaging 18.0 which is incompatible.
ERROR: rasa 1.3.9 has requirement pika~=1.0.0, but you'll have pika 0.12.0 which is incompatible.
ERROR: rasa 1.3.9 has requirement python-socketio>=4.3.1, but you'll have python-socketio 3.0.0 which is incompatible.
ERROR: rasa 1.3.9 has requirement pytz~=2019.1, but you'll have pytz 2018.9 which is incompatible.
ERROR: rasa 1.3.9 has requirement redis~=3.3.5, but you'll have redis 2.0.0 which is incompatible.
ERROR: rasa-x 0.21.4 has requirement pika~=1.0.0, but you'll have pika 0.12.0 which is incompatible.
ERROR: rasa-x 0.21.4 has requirement requests~=2.22, but you'll have requests 2.21.0 which is incompatible.
ERROR: rasa-sdk 1.3.3 has requirement ConfigArgParse~=0.14, but you'll have configargparse 0.13.0 which is incompatible.
ERROR: rasa-core 0.13.8 has requirement tensorflow~=1.12.0, but you'll have tensorflow 1.14.0 which is incompatible.
ERROR: gym 0.15.3 has requirement cloudpickle~=1.2.0, but you'll have cloudpickle 0.6.1 which is incompatible.
Requirement.txt 内容:-
gspread==3.0.0
beautifulsoup4~=4.6.3
requests~=2.21.0
geopy~=1.18.1
pandas~=0.24.1
rasa==1.3.9
future==0.17.1
fakeredis==0.10.1
keras-applications==1.0.6
keras-preprocessing==1.0.5
dill==0.2.9
tensorflow==1.14.0
wrapt==1.10.0
fbmessenger==5.0
matplotlib==2.0
packaging==18.0
pika==0.12.0
pyhton-socketio==3.0
pytz==2018.9
redis==2.0
ConfigArgParse==0.13
cloudpickle==0.6.1
mailchimp3==3.0.2
oauth2client==4.1.2
其他详情 : -
OS-Window 10
Python - 3.6.0
pip -19.3
VS Code - 1.39