Rasa open-source not working on python 3.11

     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 510.3/510.3 kB 4.0 MB/s eta 0:00:00
          super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-s7qpp_5s/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 34, in <module>
      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: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
(env) [user@Laptop rasa]$ python --version
Python 3.11.6
(env) [user@Laptop rasa]$ pip --version
pip 23.3.2 from /home/user/dev/py/rasa/env/lib/python3.11/site-packages/pip (python 3.11)

Solved with docker: