Unable to pip install rasa

Hi, im trying to pip install rasa in VS code but it gives me an error. Can someone help ?

Collecting rasa
  Obtaining dependency information for rasa from https://files.pythonhosted.org/packages/e7/95/b5e9380fb5e64d478f098f02bcf4014cd74bf5dd24b26687d0c0bc08f43f/rasa-1.10.2-py3-none-any.whl.metadata
  Using cached rasa-1.10.2-py3-none-any.whl.metadata (14 kB)
Collecting PyJWT<1.8,>=1.7 (from rasa)
  Obtaining dependency information for PyJWT<1.8,>=1.7 from https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl.metadata
  Using cached PyJWT-1.7.1-py2.py3-none-any.whl.metadata (3.9 kB)
Collecting SQLAlchemy<1.4.0,>=1.3.3 (from rasa)
  Using cached SQLAlchemy-1.3.24.tar.gz (6.4 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting absl-py<0.10,>=0.9 (from rasa)
  Using cached absl-py-0.9.0.tar.gz (104 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      Traceback (most recent call last):
        File "C:\Users\ASUS\Desktop\MCS Chatbot\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Users\ASUS\Desktop\MCS Chatbot\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\ASUS\Desktop\MCS Chatbot\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\ASUS\AppData\Local\Temp\pip-build-env-10d4yib6\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\ASUS\AppData\Local\Temp\pip-build-env-10d4yib6\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "C:\Users\ASUS\AppData\Local\Temp\pip-build-env-10d4yib6\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
          super().run_setup(setup_script=setup_script)
        File "C:\Users\ASUS\AppData\Local\Temp\pip-build-env-10d4yib6\overlay\Lib\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.

Im using Python 3.12.1 version.

Rasa does not support python 3.12. See supported versions here.

  1. use python 3.10
  2. upgrade pip to version 24.0
  3. create a virtual environment
  4. install rasa using pip