I am trying to install rasa on sagemaker. I created a new environment, installed the required dependencies. I also checked with pip install --upgrade setuptools --> Requirement already satisfied
But when I tried pip3 install rasa, I got the error below
Collecting rasa
Using cached rasa-1.10.2-py3-none-any.whl (510 kB)
Collecting networkx<2.5.0,>=2.4.0
Using cached networkx-2.4-py3-none-any.whl (1.6 MB)
Collecting terminaltables<3.2.0,>=3.1.0
Using cached terminaltables-3.1.10-py2.py3-none-any.whl (15 kB)
Collecting questionary<1.6.0,>=1.5.1
Using cached questionary-1.5.2-py3-none-any.whl (26 kB)
Collecting tensorflow-probability<0.10,>=0.7
Using cached tensorflow_probability-0.9.0-py2.py3-none-any.whl (3.2 MB)
Collecting redis<4.0,>=3.4
Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB)
Collecting cloudpickle<1.4,>=1.2
Using cached cloudpickle-1.3.0-py2.py3-none-any.whl (26 kB)
Collecting absl-py<0.10,>=0.9
Using cached absl-py-0.9.0.tar.gz (104 kB)
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 "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-kvl3qhqg/absl-py_72f8c49a7af741b4b55d0694e6c3b916/setup.py", line 34, in <module>
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.
I restarted my kernel severally but still got the same error
Kindly assist.
Is rasa is compatible with python version Python 3.11.5
As I’m trying to install it but it giving me the errer like this
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/03/5sbz8nsd2mb62p4v_jnx75b00000gn/T/pip-install-z9t8wtgh/absl-py_566ee63cd5cb4301ae7769a949a1aa44/setup.py", line 34, in <module>
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.
× 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 “C:\Users\mchallapalli2\AppData\Local\Temp\pip-install-8ofdyzjf\absl-py_cc22db5e2a014be6b0ba4243a19904da\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.