Installing Rasa: Ubuntu
Video
To install Rasa on Ubuntu we should first install a modern python version.
# First we should update apt, just in case.sudo apt update# Install pythonsudo apt install python3-dev python3# Once it is installed you should be able to confirm the versions.python3 --version pip3 --version
Now that we have these tools installed we can create a folder for our Rasa project.
# Create and Enter Foldersmkdir rasaprojects cd rasaprojects# Next we install python3-pip so that we can install python packagessudo apt install python3-venv# We can now create a virtualenv python3 -m venv ./venv
With our virtualenv available we can now active it and install Rasa.
# Source the virtualenvsource ./venv/bin/activate# Install Rasa and Upgrade pip python -m pip install --upgrade pip rasa# Our `python` now refers to the python version in the virtualenv.# From here you should be able to use Rasapython -m rasa --helppython -m rasa init