Getting error on installing rasa-x

I am trying to install rasa-x to deploy my working rasa bot to the server. And getting the following error and failing all the time.

error: subprocess-exited-with-error

× python 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-9hafsr86/absl-py_a90529bb38b040279076c77ec5c04b8c/”, 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

the error shows the python version should be 3.4+, I have Python 3.10.4 on my machine.

Please help me with this. Or please suggest me a way to deploy my bot with custom action on the server.

I don’t believe Python 3.10 is supported yet. Try again with Python 3.7 or 3.8 instead.