赞
踩
在直接使用:pip install rasa
时几乎无限告警:
INFO: pip is looking at multiple versions of sanic to determine which version is compatible with other requirements. This could take a while.
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
博主这个时候已经是rasa 3.0.4
版本,rasa更新版本比较快,如果版本变动太大,可能此方法无法适用
pip uninstall tensorflow
注意安装的时候要用pypi的原始源,如果换源了不要用第三方源,这是个坑!
pip3 install -U --user pip && pip3 install rasa -i https://pypi.org/simple
博主使用这个方法整个安装流程没有使用10秒,所以如果抛去升级、下载的时间,整个流程时间超过1分钟多,就是可能有问题的
rasa github项目主页:https://github.com/RasaHQ/rasa
这个最主要的原因应该是pip无法很好处理依赖吧,pip在罕见的情况下(呐,此刻碰到了)会出现这种尝试回溯安装不同版本来试图解决依赖的问题。如果是python3.6版本,会无限循环且无解…
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。