RasaHQ / rasa-demo

:tiger: Sara - the Rasa Demo Bot: An example of a contextual AI assistant built with the open source Rasa Stack
GNU General Public License v3.0
959 stars 793 forks source link

Version incompatibility with pip and rasa #712

Closed oliverbob closed 1 year ago

oliverbob commented 1 year ago

I tried to follow the instructions on this repo coz I wan't to play around it a little bit:

make install
python -m pip install --upgrade "pip<20"
Collecting pip<20
  Downloading pip-19.3.1-py2.py3-none-any.whl (1.4 MB)
     |████████████████████████████████| 1.4 MB 42.5 MB/s 
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.3.4
    Uninstalling pip-20.3.4:
      Successfully uninstalled pip-20.3.4
Successfully installed pip-19.3.1
pip install -r requirements.txt
ERROR: Could not find a version that satisfies the requirement rasa==2.8.21 (from -r requirements.txt (line 1)) (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.1.0, 0.1.1, 0.2.0a2, 0.2.0a3, 0.14.0a5, 0.14.0a6, 0.14.0a7, 0.14.0a8, 0.14.0a9, 0.15.0a6, 1.0.0a1, 1.0.0a2, 1.0.0a3, 1.0.0a4, 1.0.0a5, 1.0.0rc1, 1.0.0rc2, 1.0.0rc3, 1.0.0rc4, 1.0.0rc5, 1.0.0rc6, 1.0.0rc7, 1.0.0rc8, 1.0.0rc9, 1.0.0rc10, 1.0.0rc11, 1.0.0rc12, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.2.0a2, 1.2.0a3, 1.2.0a4, 1.2.0a5, 1.2.0a6, 1.2.0a7, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9, 1.2.10, 1.2.11, 1.2.12, 1.3.0a1, 1.3.0a2, 1.3.0, 1.3.1a1, 1.3.1a3, 1.3.1a4, 1.3.1a5, 1.3.1a8, 1.3.1a10, 1.3.1a11, 1.3.1a12, 1.3.1a14, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.6, 1.3.7, 1.3.8, 1.3.9, 1.3.10, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.6.0a1, 1.6.0a2, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.10.0a1, 1.10.0a2, 1.10.0, 1.10.1, 1.10.2, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.2.0, 3.2.1, 3.2.2, 3.2.4, 3.2.5, 3.2.6, 3.2.7, 3.2.8, 3.2.10, 3.2.11, 3.3.0a1, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.4.0, 3.4.1, 3.5.0a1.dev1)                                             
ERROR: No matching distribution found for rasa==2.8.21 (from -r requirements.txt (line 1))                                                                          
WARNING: You are using pip version 19.3.1; however, version 22.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.        
make: *** [Makefile:20: install] Error 1
(.env) root@debian-s-2vcpu-4gb-amd-sgp1-01:~/pip_trans/rasa-demo# make install
python -m pip install --upgrade "pip<20"
Requirement already up-to-date: pip<20 in /root/pip_trans/.env/lib/python3.9/site-packages (19.3.1)
WARNING: You are using pip version 19.3.1; however, version 22.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.        
pip install -r requirements.txt

I understand that this is incompatible with the latest version of rasa.

My rasa version is:

Rasa Version : 3.4.1 Minimum Compatible Version: 3.0.0 Rasa SDK Version : 3.4.0 Python Version : 3.9.2 Operating System : Linux-5.10.0-21-amd64-x86_64-with-glibc2.31 Python Path : /usr/bin/python3

architecture: 5.10.0-21-amd64 4 GB / 2 AMD CPUs 80 GB NVMe SSDs 4 TB transfer

Is there any way that I can at least run this successfully, even with an isolated environment or OS with the minimum requirement? What can I do to make this work?

Thank you very much,

Bob

trammell commented 1 year ago

Rasa 2.8.x does not support python 3.9. Try python 3.8.x instead.