MartinHN
MartinHN

Reputation: 19802

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?

Upvotes: 5

Views: 5699

Answers (5)

Sorcerer
Sorcerer

Reputation: 874

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

pip install --upgrade pip

Upvotes: 1

Amit Pathak
Amit Pathak

Reputation: 1377

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.

Upvotes: 1

ASIL ADNAN
ASIL ADNAN

Reputation: 41

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.

Upvotes: 0

Jens Kohl
Jens Kohl

Reputation: 5969

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

Upvotes: 5

icpp-pro
icpp-pro

Reputation: 1476

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

Upvotes: 13

Related Questions