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

Python 3.8 support #6139

Closed jmyounker closed 4 years ago

jmyounker commented 4 years ago

Head:

Rasa version: 1.10.2

Python version: 3.8.3

Operating system (windows, osx, ...): linux

Issue: pip3 install does not work

Error (including full traceback):

$ pip3 install rasa
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
Collecting rasa
  Downloading rasa-1.10.2-py3-none-any.whl (510 kB)
     |████████████████████████████████| 510 kB 3.5 MB/s 
Collecting questionary<1.6.0,>=1.5.1
  Downloading questionary-1.5.2-py3-none-any.whl (26 kB)
Collecting slackclient<3.0.0,>=2.0.0
  Downloading slackclient-2.7.2-py2.py3-none-any.whl (70 kB)
     |████████████████████████████████| 70 kB 7.8 MB/s 
Collecting sanic<20.0.0,>=19.12.2
  Downloading sanic-19.12.2-py3-none-any.whl (72 kB)
     |████████████████████████████████| 72 kB 1.0 MB/s 
Collecting colorclass<2.3,>=2.2
  Downloading colorclass-2.2.0.tar.gz (17 kB)
Collecting ruamel.yaml<0.17,>=0.16
  Downloading ruamel.yaml-0.16.10-py2.py3-none-any.whl (111 kB)
     |████████████████████████████████| 111 kB 14.7 MB/s 
Requirement already satisfied: attrs<19.4,>=19.3 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from rasa) (19.3.0)
Requirement already satisfied: ujson<3.0,>=1.35 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from rasa) (1.35)
Requirement already satisfied: SQLAlchemy<1.4.0,>=1.3.3 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from rasa) (1.3.18)
Collecting pytz<2020.0,>=2019.1
  Downloading pytz-2019.3-py2.py3-none-any.whl (509 kB)
     |████████████████████████████████| 509 kB 14.3 MB/s 
Requirement already satisfied: aiohttp<3.7,>=3.6 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from rasa) (3.6.2)
Collecting PyJWT<1.8,>=1.7
  Downloading PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
Collecting redis<4.0,>=3.4
  Downloading redis-3.5.3-py2.py3-none-any.whl (72 kB)
     |████████████████████████████████| 72 kB 722 kB/s 
Requirement already satisfied: scipy<2.0.0,>=1.4.1 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from rasa) (1.5.0)
Collecting webexteamssdk<1.4.0,>=1.1.1
  Downloading webexteamssdk-1.3.tar.gz (56 kB)
     |████████████████████████████████| 56 kB 5.5 MB/s 
Collecting absl-py<0.10,>=0.9
  Downloading absl-py-0.9.0.tar.gz (104 kB)
     |████████████████████████████████| 104 kB 18.5 MB/s 
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, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.3.0rc0)
ERROR: No matching distribution found for tensorflow<2.2,>=2.1 (from rasa)

Command or request that led to error:

pip3 install rasa
ayush7garg commented 4 years ago

Install tensorflow using the following command: pip3 install tensorflow==2.1 Then use pip to install rasa" pip3 install rasa

sara-tagger commented 4 years ago

Thanks for the issue, @tttthomasssss will get back to you about it soon!

You may find help in the docs and the forum, too 🤗
erohmensing commented 4 years ago

@jmyounker there is currently not python 3.8 support in a released version of rasa open source; As you can see in the Installation Instructions Rasa Open Source requires Python 3.6 or 3.7. This will be available in the next major or minor (not patch) release.

jmyounker commented 4 years ago

Any estimate as to when 1.11 gets released?

erohmensing commented 4 years ago

We're currently working towards a 2.0 release, alphas will be out very soon but it’ll be late this summer before it’s out!

papadako commented 4 years ago

Dear all,

any news on this one? Rasa Open Source 2.0 is out and supports python 3.8.

erohmensing commented 4 years ago

@papadako what news are you looking for? Yes, 2.0 does support python 3.8.

papadako commented 4 years ago

@papadako what news are you looking for? Yes, 2.0 does support python 3.8.

@erohmensing hi, somehow I thought this was an issue about the rasaX, which still does not support python 3.8