Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PIP install rasa-x takes forever

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: enter image description here

Any idea what I can do to fix this?

like image 824
MartinHN Avatar asked Dec 03 '22 09:12

MartinHN


2 Answers

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
like image 199
Arjaan Buijk Avatar answered Dec 14 '22 12:12

Arjaan Buijk


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
like image 28
Jens Kohl Avatar answered Dec 14 '22 13:12

Jens Kohl