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
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.
- Ubuntu
- macOS
- Windows
Fetch the relevant packages using apt
, and install virtualenv using pip
sudo apt update
sudo apt install python3-dev python3-pip
pip3 install uv
Install the Homebrew package manager if you haven't already.
Once you're done, you can install Python 3.10
or 3.11
and uv
brew update
brew install python@3.10
pip install uv
Install Python 3 (64-bit version) for Windows, being sure to download a version supported by Rasa Pro. Then, install pip
:
C:\> pip3 install -U pip
C:\> 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:
- Ubuntu
- macOS
- Windows
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
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
Create a new virtual environment in .\venv
directory with:
C:\> uv venv --python 3.10
Activate the virtual environment:
C:\> .\venv\Scripts\activate
Install Rasa:
C:\> 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.