hey @rasa_newbie, try installing rasa using below command:
pip3 install --upgrade tensorflow-addons rasa
hey @rasa_newbie, try installing rasa using below command:
pip3 install --upgrade tensorflow-addons rasa
I got the same problem when I used Python 3.7.5 and 3.8.0 on Ubuntu 18.04.4 but pip install rasa
worked fine when I used Python 3.6.9.
virtualenv -ppython3.6 venv
. venv/bin/activate
pip install rasa
Hello All,
Newbie in Rasa and tried to install it to give it a try. Now I have spent more than half a day and looking for solution. Unfortunately none of the above solution worked for me. Below is my case:
No matter if I use âpip install rasaâ or âpip3 install rasaâ or âpip install rasa==1.8.1â or âpip install rasa==1.7â or âpip install rasa [spacy]â - it always throws the same error.
I tried to go through several discussion forums of Rasa and Github. Upgraded and downgraded several times python, pip, setuptools, wheel etc. but of no use. Even tried to install tensorflow 2.2.0rc1 (got this error couple of times) but got stuck with tensorflow-addon requirement. Apparently no pip command can install tensorflow-addons compatible with tensorflow build.
Provided full user ownsership and permission to venv but still of no use.
Any help would be highly appreciated.
Thank you.
It worked for me, Thanks!
hi , I am seeing same error. ERROR: Could not find a version that satisfies the requirement tensorflow<2.2,>=2.1 (from rasa) (from versions: 2.2.0rc1, 2.2.0rc2) ERROR: No matching distribution found for tensorflow<2.2,>=2.1 (from rasa) Initially i was working with python3.8.2, i then tried out solutions mentioned in this thread.
Regards, Arushi
Hi there!
I had a similar issue: ERROR: Could not find a version that satisfies the requirement tensorflow<2.2,>=2.1 (from rasa) (from versions: 2.2.0rc1, 2.2.0rc2) ERROR: No matching distribution found for tensorflow<2.2,>=2.1 (from rasa)
Following seems to have worked for me:
My configuration:
Same problem: OSX 10.15.4, python 3.7.5; rasa 1.9.5 used the âshort answerâ pipeline from Tuning Your NLU Model
ârasa trainâ coughed up âException: Not all required importable packages are installed. To use this pipeline, you need to install the missing dependencies. Please install the package(s) that contain the module(s): tensorflow_textâ
googling suggested docs from an old version: https://rasa.com/docs/rasa/1.7.3/nlu/choosing-a-pipeline/
which had a note:
" To use pretrained_embeddings_convert
pipeline, you should install tensorflow-text==1.15.1
and tensorflow-hub==0.6.0
. Otherwise, you can also pip install Rasa with pip install rasa[convert]
. Please also note that tensorflow-text is only currently supported on Linux platforms."
tried âpip install rasa[convert]â
and was able to train without the tensorflow error.
rasa upgrades are decidedly challenging.
Same problem.
OS : Ubuntu 18.04 Python : Python 3.8.2 commands that donât work :
$ pip install rasa $ pip3 install rasa $ pip3 install --upgrade tensorflow-addons rasa
Error :
ERROR: Could not find a version that satisfies the requirement tensorflow-addons>=0.7.1 (from rasa) (from versions: none) ERROR: No matching distribution found for tensorflow-addons>=0.7.1 (from rasa)
Anything happening in this direction anymore ?
thanks. your solution worked for me.
Try creating a virtual environment using python =< 3.6.8:
Download and install python 3.6.8 (Python Release Python 3.6.8 | Python.org)
Create a virtual environment using the new python version:
virtualenv -p 3.6.8 rasaenv
Install rasa:
pip install rasa
Cheers
This worked for me. Thanks
Using Windows 10, solved it here by downgrading to Python 3.6.8 x64, and following the tutorial commands.
Updating PIP might solve this issue
@vimal Yes this worked for me. I also had a similar error
When i read through other issue posts regarding tensorflow-addons i found out that latest versions of tensorflow wonât be installed correctly if you donât have the latest version of pip. So i updated my pip from 9.0.1 to 20.2.1 and it worked. FYI the following command to update pip:python -m pip install -U pip
Hi, I am also completely new to rasa and to Python. I got the same error, => installed the latest version of python with âpip install --upgrade pipâ => download of rasa continued for a couple of minutes but ended with same error message. Any further ideas?
It only works if you install rasa 2.0.0a1. The 1.x series has no fix for python 3.8/TF 2.2
thank you, @pgdev , I have now set up a virtual environment and installed py 3.7 and it worked. I still got a few error and warning messages, but it seems to run fine⌠going through the masterclass now and setting up the first bot
I got same problem on MacOS 10.12. Problem solved when update to MacOS 10.14.6
Thanks. This worked for me too.
On Ubuntu 20.04 with Python 3.8(.2) use the rasa 2.x
pip install gast==0.3.3 cloudpickle==1.3 numpy==1.18.5
pip install rasa==2.0.0rc2