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.

1 Like

@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
3 Likes

This worked for me. Thank you

2 Likes

This should be put inside the documentation for local development using Rasa Pro.

1 Like

when im running the thered line im running into this err :

error: No Python interpreters found in virtual environments

im using venv on wsl2 (ubunto distro)