Pip install rasa is not installing rasa - 2023

I am trying to install rasa using pip install rasa. When I ran pip list, it does not list rasa. Following are my sequence actions:

  1. I have Ubuntu 22.10 (it runs python 3.10.x) under which created a docker container using python:3.7-slim and I have python version 3.7.17
  2. I follow the guide from Setting up your environment
  3. I ran sudo apt update and then sudo apt install python3-dev python3-pip in both the python version i.e. my host as well as container
  4. I upgraded pip using pip3 install -U pip
  5. and then installed rasa using pip3 install rasa which ends like this:

It installed the tensor flow at the end and thats all, then I first hit rasa, it did not respond and said command not found. Even the pip list does not list the rasa in its list.

I think the culprit is pip3 install rasa which is not installing rasa properly. What could be a possible issue here? Thanks

Oops I just saw the tensorflow installation got killed. does rasa now requires 4GB of ram?

EDIT: After upgrading memory to 4GB, it started working

It’s recommended to use a virtual environment to isolate your Python environment for better package management. Create and activate a virtual environment using a tool like venv or conda before installing Rasa. This can help avoid conflicts with other packages or dependencies.