Skip to main content

Using Python

Rasa Pro has a Python package called rasa-pro that you can install locally, with uv package manager. You can use pip but it'll take longer to install.

Set Up Your Python Environment

info

Rasa supports Python 3.10 and 3.11

Check if your Python environment is already configured:

python --version #ensure you're using Python 3.10 or 3.11
pip --version

If the right packages are already installed, 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
pip3 install uv

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. We'll use uv as our package manager for faster dependency resolution:

uv venv --python 3.10

Activate the virtual environment:

source .venv/bin/activate

Install Rasa:

uv pip install rasa-pro

Don't forget to obtain your Rasa Pro Developer Edition License from the license request page. Export it as an environment variable:

export RASA_PRO_LICENSE=YOUR_LICENSE_KEY

Check the Rasa version:

rasa --version

Create a new template CALM assistant from a template:

rasa init --template tutorial

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.