Installation on MacOS

I have tried for 2 hours to install RASA on big sur and about to throw in the towel.

when I install using pip or pip3 - despite rasa coming up in my pip/pip3 “list”

rasa                          0.1.1
rasa-core                     0.8.6
rasa-nlu                      0.11.5

I still cannot run the executable…

(venv) ~/rasa $ rasa init

-bash: rasa: command not found

I have tried running it from just outside my virtual environment (venv)

/Users/johnchristian/rasa
(venv) ~/rasa $ ls -al
total 0
drwxr-xr-x   3 johnchristian  staff    96  3 Apr 11:07 .
drwxr-xr-x+ 47 johnchristian  staff  1504  3 Apr 11:16 ..
drwxr-xr-x   8 johnchristian  staff   256  3 Apr 11:11 venv

and also from within the venv…

(venv) ~/rasa $ cd venv/
(venv) ~/rasa/venv $ ls -al
total 16
drwxr-xr-x   8 johnchristian  staff   256  3 Apr 11:11 .
drwxr-xr-x   3 johnchristian  staff    96  3 Apr 11:07 ..
-rw-r--r--   1 johnchristian  staff    40  3 Apr 11:07 .gitignore
drwxr-xr-x  85 johnchristian  staff  2720  3 Apr 11:12 bin
drwxr-xr-x   3 johnchristian  staff    96  3 Apr 11:11 include
drwxr-xr-x   3 johnchristian  staff    96  3 Apr 11:07 lib
-rw-r--r--   1 johnchristian  staff   344  3 Apr 11:07 pyvenv

any help would be greatly appreciated.

May I know the python version of your virtual environment? I had the same issue installing on windows before until I realized my venv was set automatically to python 3.9.

FYI, Rasa Open Source requires Python 3.6, 3.7 or 3.8. I’m personally using 3.8 as it has worked for me so far.

Yea I’m using 3.9.

Will give 3.8 a crack! Thanks!

YEAP! WORKED!

AMAZING - thanks

Haha, glad it helped! If it’s not too much trouble, could you mark my response as the solution? Thanks! :smiley:

1 Like