Skip to main content

Using Python

Rasa Pro has a Python package called rasa-pro that you can install locally, with either pip or poetry.

Setup Your Python Environment

Check if your Python environment is already configured:

python --version
pip --version
Python Supported Versions

Rasa supports Python 3.9, 3.10 and 3.11.

If these packages are already installed, these commands should display version numbers for each step, and you can skip to the next step.

Otherwise, proceed with the instructions below to install them.

Fetch the relevant packages using apt, and install virtualenv using pip.

sudo apt update
sudo apt install python3-dev python3-pip

Virtual Environment Setup

We strongly recommend isolating python projects using virtual environments. Python comes with the venv module, which you can use by following the instructions for your OS below:

Create a new virtual environment in ./venv directory with:

python -m venv ./venv

Activate the virtual environment:

source ./venv/bin/activate

Alternatives to venv are virtualenv, virtualenvwrapper and Miniconda.

Installing Rasa Pro with pip or uv

Install Rasa Pro with:

pip install rasa-pro

You can significantly speed up the installation process with the uv package manager:

pip install uv
uv pip install rasa-pro

That's it - you should now be ready to dive into building your first bot! For troubleshooting tips or FAQs on install see our troubleshooting guide.