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

AWS Q Developer image

Your AI Code Assistant

Generate and update README files, create data-flow diagrams, and keep your project fully documented. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

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.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay