PIP install rasa-x takes forever

*爱你&永不变心* 提交于 2021-02-10 06:14:55

问题


I am intalling Rasa X in a Python 3.7 conda environment on Windows 10. pip version is 20.3.3.

pip3 install rasa-x --extra-index-url https://pypi.rasa.com/simple

It have been going on for 5-6 hours and seems to be confused:

Any idea what I can do to fix this?


回答1:


It is caused by the dependency resolution backtracking logic introduced in pip v20.3. (docs)

A fix for now is to downgrade pip to v20.2, with:

pip install --upgrade pip==20.2



回答2:


Instead of downgrading pip you can also use the old dependency resolver until pip 21.0 ships (that's when they strip the old resolver from the code base), like so:

pip3 install --use-deprecated=legacy-resolver rasa-x --extra-index-url https://pypi.rasa.com/simple



回答3:


I had the same problem, I downgraded pip to v 20.2. Then I had to download Visual Studio Build Tools 2019 and the issue is resolved.



来源:https://stackoverflow.com/questions/65806524/pip-install-rasa-x-takes-forever

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!