RASA 安装记录
这篇笔记记录自己在安装rasa环境时遇到的错误及解决方法。rasa的安装过程参考官方文档:https://www.rasachatbot.com/1_Installation 以及博客:https://www.jianshu.com/p/d58ab544147f
-
报错1:pip install rasa时报错
解决方法:关闭VPN即可 -
报错2:pyopenssl 22.0.0 requires cryptography>=35.0, but you have cryptography 3.4.8 which is incompatible.(cryptography包冲突)
解决方法:删除旧版本:pip uninstall cryptography 安装最新版本:pip install cryptography
再次执行pip install rasa-x --extra-index-url https://pypi.rasa.com/simple,错误已经消失。 -
报错3:执行rasa init出错
解决方法:重新执行了pip install rasa(晚上卡在了安装tensorflow一个几百兆的包上,第二天上午再次安装网速巨快,晚上网络拥堵?) -
执行rasa init成功(使用rasa init命令会问很多配置问题,可以使用rasa init --no-prompt)