问题
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