Getting rasa command not found - Getting Started with Rasa / Tutorials, Resources & Videos - Rasa Community Forum

Getting rasa command not found

post by NikhilBansal21 on Jan 13, 2020

Hi,

I have installed rasa on my Mac OS using the installation guide, But on training my existing rasa bot using nlu train command, I am getting command not found error on terminal.

post by priya359 on Jan 13, 2020

t try rasa train command once

post by NikhilBansal21 on Jan 13, 2020

i have it is not able to find rasa installed on my machine

post by priya359 on Jan 13, 2020

please try pip show rasa to check whether rasa is installed or not

post by NikhilBansal21 on Jan 14, 2020

pip show rasa displays rasa info…but i am still getting same error on training the model or even using rasa init

post by sagarvanave on Feb 20, 2020

First type pip list command in terminal and check rasa is present in that list or not

post by wsun28 on Apr 12, 2020

I run into the same issue.

I resolved this issue by reinstalling rasa.

Commands: First: pip uninstall rasa

It will ask if you want to proceed, to which you say Y

Then: pip install rasa.

Problem solved.

post by Nikhil0212 on Jun 26, 2020

Hi, @NikhilBansal21 did your issue get resolved? I am running into the same issue. Kindly reply.

post by yesminee on Jul 21, 2020

me too, I'm facing the same problem, try to check your path because using pip in installation will automatically drop into home/.local/bin which is not in path list (for ubuntu users) try to add that path using export command.

post by yesminee on Jul 21, 2020

and yeah i found the answer you should activate your python env, create folder where you want to implement your project with mkdir command and then open it with cd and then rasa init --no-prompt (ubuntu user)

post by michaelbc on Apr 12, 2021

Make sure you are using Python 3.6.x to 3.8.x, and NOT 3.9.

post by Crysflair on Aug 26, 2021

That’s true. I am on Windows 10. I installed rasa and I could see it from conda list and pip list, but I couldn’t even rasa init. After uninstalling and reinstalling it, everything turns to be normal now.

post by johnmark on Sep 27, 2021

I did a poetry install from source which completed apparently correctly. But rasa is not in my path. Where does the install put it?

post by nik202 on Sep 27, 2021

@johnmark did you create a separate conda environment for your rasa version? You trying to install rasa open source or rasa x?

post by johnmark on Sep 27, 2021

@nik202 Using ubuntu 20.04 under Windows. I installed the open-source version - after cloning the repo. No, I didn’t create a conda env. I assume the activated conda env "base" is used.

post by nik202 on Sep 27, 2021

@johnmark I personally not used the poetry one. If you want I can suggest you some solution if you like to try?

post by johnmark on Sep 27, 2021

@nik202 It does run after “pip install rasa” – but I would like to run rasa command line from the github source.

post by nik202 on Sep 27, 2021

@johnmark are you able to share rasa version while using rasa --version ?

post by johnmark on Sep 27, 2021

$ rasa --version
Rasa Version : 2.8.7
Minimum Compatible Version: 2.8.0
Rasa SDK Version : 2.8.2
Rasa X Version : None
Python Version : 3.8.10
Operating System : Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29
Python Path : /usr/bin/python3

post by nik202 on Sep 27, 2021

the issue is you not created the conda base environment if you follow you will be able to run rasa open source.

Download Anaconda

conda create -n rasa3 python=3.8

conda activate rasa3

pip install rasa==2.8.1

post by johnmark on Sep 27, 2021

@nik202 Actually I think what I need is the pip install command to install from the local repo. What you’ve suggested will go and install from pypi, if I am correct

post by nik202 on Sep 28, 2021

@johnmark good luck!

post by minakshimathpal on Jan 25, 2022

I ran into same problem…I created conda environment, used python =3.8 and pip=21.3.1, then did pip install rasa…rasa was in pip list still couldn’t find rasa…Did rasa uninstall then reinstall. It worked.

post by IamSaumya on Jun 27, 2022

Hello sir, I have even tried pip uninstall rasa but when I am again installing it I am getting this error…Plz may you help me
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.

post by dliedke on Sep 8, 2022

pip install psycopg2-binary

post by preety11pandey on Apr 10, 2023

I checked, rasa is there so next what to do, it still showing ‘rasa’ command not found.

post by Petrina on Apr 21, 2023

you should first check if Rasa is installed and then check your path settings and dependencies.