RasaHQ / rasa

πŸ’¬ Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants
https://rasa.com/docs/rasa/
Apache License 2.0
18.9k stars 4.63k forks source link

Cannot find version that satisfies the requirement tensorflow-addons #6271

Closed jmnsf closed 4 years ago

jmnsf commented 4 years ago

Rasa version: Trying to install 1.10.8

Python version:

$ python --version
Python 3.7.6

Operating system (windows, osx, ...): Windows 10

Issue: pip install rasa fails with missing tensorflow-addons version. Similar to #6081, #6139, and #5722, except I'm not using Python 3.8.

Error (including full traceback):

$ pip install rasa
Collecting rasa
  Using cached rasa-1.10.8-py3-none-any.whl (511 kB)
Collecting slackclient<3.0.0,>=2.0.0
  Using cached slackclient-2.7.3-py2.py3-none-any.whl (71 kB)
Collecting numpy<2.0,>=1.16
  Using cached numpy-1.19.1-cp37-cp37m-win32.whl (10.9 MB)
Collecting scikit-learn<0.23,>=0.22
  Using cached scikit_learn-0.22.2.post1-cp37-cp37m-win32.whl (5.7 MB)
Collecting tensorflow_hub<0.9,>=0.7
  Using cached tensorflow_hub-0.8.0-py2.py3-none-any.whl (101 kB)
Collecting kafka-python<2.0,>=1.4
  Using cached kafka_python-1.4.7-py2.py3-none-any.whl (266 kB)
Collecting tensorflow-probability<0.10,>=0.7
  Using cached tensorflow_probability-0.9.0-py2.py3-none-any.whl (3.2 MB)
Collecting webexteamssdk<1.4.0,>=1.1.1
  Using cached webexteamssdk-1.3.tar.gz (56 kB)
Collecting boto3<2.0,>=1.12
  Using cached boto3-1.14.27-py2.py3-none-any.whl (128 kB)
Collecting PyJWT<1.8,>=1.7
  Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
Collecting colorhash<1.1.0,>=1.0.2
  Using cached colorhash-1.0.2-py2.py3-none-any.whl (6.0 kB)
Collecting matplotlib<3.3,>=3.1
  Downloading matplotlib-3.2.2-cp37-cp37m-win32.whl (9.0 MB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 9.0 MB 104 kB/s
Collecting rasa-sdk<2.0.0,>=1.10.0
  Using cached rasa_sdk-1.10.2-py3-none-any.whl (38 kB)
Collecting apscheduler<3.7,>=3.6
  Using cached APScheduler-3.6.3-py2.py3-none-any.whl (58 kB)
Collecting requests<3.0,>=2.23
  Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting ujson<3.0,>=1.35
  Using cached ujson-2.0.3.tar.gz (7.1 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
    Preparing wheel metadata ... done
Collecting packaging<21.0,>=20.0
  Using cached packaging-20.4-py2.py3-none-any.whl (37 kB)
Collecting psycopg2-binary<2.9.0,>=2.8.2
  Using cached psycopg2_binary-2.8.5-cp37-cp37m-win32.whl (984 kB)
Collecting python-dateutil<2.9,>=2.8
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting questionary<1.6.0,>=1.5.1
  Using cached questionary-1.5.2-py3-none-any.whl (26 kB)
Collecting regex<2020.7,>=2020.6
  Using cached regex-2020.6.8-cp37-cp37m-win32.whl (252 kB)
Collecting redis<4.0,>=3.4
  Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB)
Collecting SQLAlchemy<1.4.0,>=1.3.3
  Using cached SQLAlchemy-1.3.18-cp37-cp37m-win32.whl (1.2 MB)
Requirement already satisfied: setuptools>=41.0.0 in c:\users\jmnsf\.pyenv\pyenv-win\versions\3.7.6\lib\site-packages (from rasa) (41.2.0)
Collecting sanic-jwt<1.5.0,>=1.3.2
  Using cached sanic-jwt-1.4.1.tar.gz (19 kB)
Collecting attrs<19.4,>=19.3
  Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Collecting pytz<2020.0,>=2019.1
  Using cached pytz-2019.3-py2.py3-none-any.whl (509 kB)
Collecting aiohttp<3.7,>=3.6
  Downloading aiohttp-3.6.2-cp37-cp37m-win32.whl (624 kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 624 kB 1.7 MB/s
Collecting fbmessenger<6.1.0,>=6.0.0
  Using cached fbmessenger-6.0.0-py2.py3-none-any.whl (11 kB)
Collecting python-telegram-bot<13.0,>=11.1
  Using cached python_telegram_bot-12.8-py2.py3-none-any.whl (375 kB)
Collecting tqdm<4.46,>=4.31
  Using cached tqdm-4.45.0-py2.py3-none-any.whl (60 kB)
Collecting prompt-toolkit<3.0,>=2.0
  Using cached prompt_toolkit-2.0.10-py3-none-any.whl (340 kB)
Collecting networkx<2.5.0,>=2.4.0
  Using cached networkx-2.4-py3-none-any.whl (1.6 MB)
Collecting pydot<1.5,>=1.4
  Using cached pydot-1.4.1-py2.py3-none-any.whl (19 kB)
Collecting mattermostwrapper<2.3,>=2.2
  Using cached mattermostwrapper-2.2.tar.gz (2.5 kB)
Collecting scipy<2.0.0,>=1.4.1
  Using cached scipy-1.5.2-cp37-cp37m-win32.whl (28.2 MB)
Collecting pika<1.2.0,>=1.1.0
  Using cached pika-1.1.0-py2.py3-none-any.whl (148 kB)
ERROR: Could not find a version that satisfies the requirement tensorflow-addons<0.8.0,>=0.7.1 (from rasa) (from versions: none)
ERROR: No matching distribution found for tensorflow-addons<0.8.0,>=0.7.1 (from rasa)

Command or request that led to error:

$ pip install rasa
jmnsf commented 4 years ago

Opening and closing since I eventually found the solution but this could be useful for other users: the issue was I had the 32bit version of python installed, this was fixed by using 64bit instead.