I can't install Rasa

Hello everyone!,

When trying to install Rasa I get the following error and I have not been able to solve it, does anyone have any idea how to solve this problem?

 Could not find a version that satisfies the requirement tensorflow~=1.15.0 (from rasa~=1.4.0->rasa-x) (from versions: 0.12.1, 1.0.0, 1.0.1, 1.1.0rc0, 1.1.0rc1, 1.1.0rc2, 1.1.0, 1.2.0rc0, 1.2.0rc1, 1.2.0rc2, 1.2.0, 1.2.1, 1.3.0rc0, 1.3.0rc1, 1.3.0rc2, 1.3.0, 1.4.0rc0, 1.4.0rc1, 1.4.0, 1.4.1, 1.5.0rc0, 1.5.0rc1, 1.5.0, 1.5.1, 1.6.0rc0, 1.6.0rc1, 1.6.0, 1.7.0rc0, 1.7.0rc1, 1.7.0, 1.7.1, 1.8.0rc0, 1.8.0rc1, 1.8.0, 1.9.0rc0, 1.9.0rc1, 1.9.0rc2, 1.9.0, 1.10.0rc0, 1.10.0rc1, 1.10.0, 1.10.1, 1.11.0rc0, 1.11.0rc1, 1.11.0rc2, 1.11.0, 1.12.0rc0, 1.12.0rc1, 1.12.0rc2, 1.12.0, 1.12.2, 1.12.3, 1.13.0rc0, 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 2.0.0a0, 2.0.0b0, 2.0.0b1)
No matching distribution found for tensorflow~=1.15.0 (from rasa~=1.4.0->rasa-x)

Thank you

3 Likes

I am getting the same error.

I am getting the same issue. I’m using python 3.7 and pip 19.3.1 and I am trynig to install Rasa in Windows 10.

ERROR: Could not find a version that satisfies the requirement tensorflow~=1.15.0 (from rasa) (from versions: none) ERROR: No matching distribution found for tensorflow~=1.15.0 (from rasa)

Hi. I am too getting the same error. My python version is 3.6.8 and pip version 9.0.1. OS that I am using is Ubuntu. The error that I get is:

Using cached https://files.pythonhosted.org/packages/8e/a9/1ceaeda8aa5d3effc9098ae301820e27bf54c4000ec6f8ec79f9b265c50e/boto3-1.10.19-py2.py3-none-any.whl Collecting tensorflow~=1.15.0 (from rasa~=1.4.0->rasa-x)

Could not find a version that satisfies the requirement tensorflow~=1.15.0 (from rasa~=1.4.0->rasa-x) (from versions: 0.12.1, 1.0.0, 1.0.1, 1.1.0rc0, 1.1.0rc1, 1.1.0rc2, 1.1.0, 1.2.0rc0, 1.2.0rc1, 1.2.0rc2, 1.2.0, 1.2.1, 1.3.0rc0, 1.3.0rc1, 1.3.0rc2, 1.3.0, 1.4.0rc0, 1.4.0rc1, 1.4.0, 1.4.1, 1.5.0rc0, 1.5.0rc1, 1.5.0, 1.5.1, 1.6.0rc0, 1.6.0rc1, 1.6.0, 1.7.0rc0, 1.7.0rc1, 1.7.0, 1.7.1, 1.8.0rc0, 1.8.0rc1, 1.8.0, 1.9.0rc0, 1.9.0rc1, 1.9.0rc2, 1.9.0, 1.10.0rc0, 1.10.0rc1, 1.10.0, 1.10.1, 1.11.0rc0, 1.11.0rc1, 1.11.0rc2, 1.11.0, 1.12.0rc0, 1.12.0rc1, 1.12.0rc2, 1.12.0, 1.12.2, 1.12.3, 1.13.0rc0, 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 2.0.0a0, 2.0.0b0, 2.0.0b1) No matching distribution found for tensorflow~=1.15.0 (from rasa~=1.4.0->rasa-x

getting same error. I am using Ubuntu and python version 3.6.8. Any help pls?

No matching distribution found for tensorflow~=1.15.0 (from rasa~=1.4.0->rasa-x)

Same issue. Windows 10 Python 3.8.0

This because tensorflow supports only python 3.6 and not 3.7 or any of the latest versions. So try using python 3.6

hey @axy, welcome to the community, try installing using the below command:

pip install rasa --upgrade tensorflow && PYTHONIOENCODING=‘UTF8’

same issue no improvent tried all the steps

2 Likes

I had the same error and to solve it I found out the following : In order to have rasa (and tensorflow) working on your windows machine :

  • you need to lower your python version at least to python 3.6
  • you need to lower your python-dateutil to at least 2.8.0

Steps Assuming that you already have PIP, Virtualenv installed, you must follow these steps:

  1. Python older version: In order to install it, download an older version of python (i found one here)

  2. Create a virtual env using that python version you have just installed. using the command mkvirtualenv --python=path_of_python_older_version\ name_of_env

  3. Activate the env you have just created (WORKON name_of_env)

  4. Now install an older version of python-dateutil using the command pip install python-dateutil==2.8.0

  5. Now you can install rasa,using the command pip install rasa

Hope it helps

This is how I solved this issue.

  1. downgrade to python 3.6.x 64bit. I installed3.6.8 64bit.
  2. install virtualenv by pip install virtualenv
  3. upgrade pip to the latest version, for me it’s 19.3
  4. go to the folder you want to create a virtual environment and type virtualenv ENV
  5. after created the virtual environment, go to the subfolder \PATH\ENV\Script and execute activate.bat. Now you will be in the virtual environment.
  6. pip install rasa

The problem is tensorflow 15 requires 64 bit python with no more than 3.6

The same works for mac. Using conda, just create env with python 3.6 " conda create -n envName python=3.6 " Then downgrade dateutil (if you do have it) " pip install python-dateutil==2.8.0 "

I was getting the same error installing with pipenv (tried both python 3.6.8 and 3.7.6) on windows 10. I solved it adding --pre flag: pipenv install --pre rasa with python 3.7.6.