Python Environment
Python
Check if your Python environment is already configured:
Python3 Supported Versions
Currently, rasa supports the following Python versions: 3.9
, 3.10
and 3.11
.
Note that Python 3.10
is only supported for versions 3.4.x
and upwards. Python 3.11
is supported by Rasa Pro 3.11.x
and upwards.
Additionally, Apple Silicon with Python 3.10
is only supported starting from 3.5.x
.
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.
- Ubuntu
- macOS
- Windows
Fetch the relevant packages using apt
, and install virtualenv using pip
.
Virtual Environment Setup
We strongly recommend isolating python projects using virtual environments. Python comes with the venv module, which is used as:
- Ubuntu
- macOS
- Windows
Create a new virtual environment in ./venv
directory with:
Activate the virtual environment:
Alternatives to venv
are
virtualenv,
virtualenvwrapper and
Miniconda.