DEV Community

Eric
Eric

Posted on

How to install rasa in linux server via Putty

In the linux server:

  • Python 3.8 was installed This is what I have done to install rasa in linux via Putty:
    • sudo apt update
    • sudo apt install python3-dev python3-pip
    • mkdir rasabot-facebook
    • cd rasabot-facebook/
    • python3 -m venv ./venv

The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

apt install python3.8-venv
Enter fullscreen mode Exit fullscreen mode

You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.

Failing command: ['/home/ubuntu/rasabot-facebook/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']

  • sudo apt install python3.8-venv
  • again: python3 -m venv ./venv
  • source ./venv/bin/activate
  • pip3 install -U pip
  • pip3 install rasa

and then : rasa -h
but there is error :
rasa: command not found

please help me with this problem

Top comments (2)

Collapse
 
socr102 profile image
Eric

I solved it
I increased the ram from 1GB to 4GB
and then I reinstalled the Rasa
it works well for me
thank you

Collapse
 
koaning profile image
vincent d warmerdam

Hi Elina, feel free to mention questions like this on our forum forum.rasa.com. The Rasa staff checks the messages there daily and we're eager to help.