Installing RASA through pip3

Hi everyone,

I’m having trouble installing Rasa using pip3. When I run the command “pip3 install rasa”, I get an error message saying “RuntimeError: Python version 2.7 or 3.4+ is required.” I’m running Python 3.11.2 on Kali Linux.

I’ve tried upgrading pip using “pip3 install --upgrade pip” and installing absl-py using “pip3 install absl-py<0.14,>=0.9”, but the error persists.

Can anyone help me with this issue? Any suggestions or advice would be greatly appreciated.

Thank you!

command and response : pip3 install rasa Collecting rasa Downloading rasa-1.10.2-py3-none-any.whl (510 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 510.3/510.3 kB 3.0 MB/s eta 0:00:00 Collecting PyJWT<1.8,>=1.7 Downloading PyJWT-1.7.1-py2.py3-none-any.whl (18 kB) Collecting SQLAlchemy<1.4.0,>=1.3.3 Downloading SQLAlchemy-1.3.24.tar.gz (6.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.4/6.4 MB 12.1 MB/s eta 0:00:00 Preparing metadata (setup.py) … done Collecting absl-py<0.10,>=0.9 Downloading absl-py-0.9.0.tar.gz (104 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.0/104.0 kB 1.6 MB/s eta 0:00:00 Preparing metadata (setup.py) … error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File “”, line 2, in File “”, line 34, in File “/tmp/pip-install-6s171fz5/absl-py_ac96f161196d4e039f8e3ca6c5b281f1/setup.py”, line 34, in raise RuntimeError(‘Python version 2.7 or 3.4+ is required.’) RuntimeError: Python version 2.7 or 3.4+ is required. [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

1 Like

Had the same issue. Anything above 3.9 python isn’t supported yet, so I suggest you use 3.9(or lower).