Rasa installation error using pip/pip3

I have created a new conda environment with python 3.8 -

conda create --name rasa_env

Then I am trying to install rasa using the command -

pip3 install rasa==2.8.18

as i want that version particularly.

However, it is throwing multiple dependency errors even in the new empty virtual environment such as -

> INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
> INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
>   Downloading ruamel.yaml-0.16.9-py2.py3-none-any.whl (111 kB)

please suggest how to solve this.

This is a problem with an certain version of Pip. Either add --use-deprecated=legacy-resolver to your Pip command or update Pip.

1 Like

Thanks. I upgraded my pip and it solved the issue.

1 Like