PIP install rasa-x takes forever
Asked Answered
E

5

5

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?

Erminna answered 20/1, 2021 at 9:19 Comment(1)
Try pip install rasa-x --extra-index-url pypi.rasa.com/simpleHowardhowarth
W
13

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
Wild answered 20/1, 2021 at 15:52 Comment(0)
A
5

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
Anthracosis answered 26/1, 2021 at 12:59 Comment(0)
U
1

After facing this issue for quite a while, I finally got if fixed after enquiring at rasa forum.

With rasa==2.7.0 and pip==20.2, I ran the command pip install rasa-x --extra-index-url https://pypi.rasa.com/simple which was quick. It installed rasa-x==0.40.1 for me.

Uam answered 10/6, 2021 at 5:28 Comment(0)
D
1

The latest version of pip 21.3. also solves the problem. Just try and upgrade pip by using

pip install --upgrade pip
Dogmatics answered 15/1, 2022 at 12:6 Comment(0)
W
0

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.

Weintraub answered 5/2, 2021 at 11:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.