Rasa Pro installation taking too long on Ubuntu

I have a system running ubuntu 22.04 with python version 3.10.12 and pip version 22.0.2

When I follow the installation instructions, the process is taking too long. For every dependency, I get the following set of messages

‘’’ INFO: pip is looking at multiple versions of cachetools to determine which version is compatible with other requirements. This could take a while. Collecting cachetools<6.0,>=2.0.0 Downloading cachetools-5.3.2-py3-none-any.whl (9.3 kB) Downloading cachetools-5.3.1-py3-none-any.whl (9.3 kB) INFO: pip is looking at multiple versions of cachetools to determine which version is compatible with other requirements. This could take a while. INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See Dependency Resolution - pip documentation v24.0 for guidance. If you want to abort this run, press Ctrl + C. ‘’’

Is it a mismatch of the pip version with the dependency specifications, or is there some other way to speed up this process? Because it has been installing Rasa pro for the past couple hours.

@MannavaVivek you should do a upgrade pip before installing rasa-pro so run: pip install -U pip

I also use uv package which makes installing python packages super quick. So for the latest version of rasa-pro, in a fresh virtual environment, I do:

pip install -U pip
pip install uv
uv pip install --extra-index-url https://europe-west3-python.pkg.dev/rasa-releases/rasa-pro-python/simple rasa-pro==3.8.0
1 Like

This worked for me. Thank you

2 Likes