I have installed rasa using:
pip3 install rasa
When I try to use rasa commands like:
rasa init
I get zsh errors:
command not found: rasa error
I am on Mac OS Catalina, using:
Python version 2.7.16
Python3 version 3.7.6
pip version 19.2.3
My path variable looks like this:
/Library/Frameworks/Python.framework/Versions/3.7/bin
:/usr/local/bin
:/usr/bin
:/bin
:/usr/sbin
:/sbin
I'm having python 3.10, and have to switch to python 3.8 for working with Rasa.
To save yourself time:
py -3.8 -m pip install virtualenv
py -3.8 -m virtualenv venv
venv\Scripts\activate
py -3.8 -m pip install -U pip
pip install rasa
rasa -h
You should see something like:
usage: rasa [-h] [--version] {init,run,shell,train,interactive,telemetry,test,visualize,data,export,x,evaluate} ...
Rasa command line interface. Rasa allows you to build your own conversational assistants 🤖. The 'rasa' command allows
you to easily run most common commands like creating a new bot, training or evaluating models.
...
I also got the similar error in ubuntu, you can try these set of command:
pip install -U pip
pip install rasa
The first command will update the python package manager and the second will install rasa.
If pip install rasa is not working, then you can try pip3 install rasa
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With