error Getting requirements to build wheel: finished with status 'error'
error error: subprocess-exited-with-error
info
info × Getting requirements to build wheel did not run successfully.
info │ exit code: 1
info ╰─> [21 lines of output]
info Traceback (most recent call last):
info File "/opt/render/project/src/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
info main()
info File "/opt/render/project/src/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
info json_out['return_val'] = hook(**hook_input['kwargs'])
info ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
info File "/opt/render/project/src/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
info return hook(config_settings)
info ^^^^^^^^^^^^^^^^^^^^^
info File "/tmp/pip-build-env-k7d601hj/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
info return self._get_build_requires(config_settings, requirements=[])
info ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
info File "/tmp/pip-build-env-k7d601hj/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
info self.run_setup()
info File "/tmp/pip-build-env-k7d601hj/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 516, in run_setup
info super().run_setup(setup_script=setup_script)
info File "/tmp/pip-build-env-k7d601hj/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 318, in run_setup
info exec(code, locals())
info File "<string>", line 51, in <module>
info File "<string>", line 48, in _guard_py_ver
info RuntimeError: Cannot install on Python version 3.11.9; only versions >=3.7,<3.11 are supported.
info [end of output]
info
error note: This error originates from a subprocess, and is likely not a problem with pip.
errorerror: subprocess-exited-with-error
info
info× Getting requirements to build wheel did not run successfully.
info│ exit code: 1
info╰─> See above for output.
info
errornote: This error originates from a subprocess, and is likely not a problem with pip.
My Python version is 3.10 and i tested in local and it was no bug and perfect. when i deploy it said “Exited with status 1 while building your code.”. I tried changed the env setting in render to 3.10 and redeploy it but it doesn’t work and still show the Error. Help!!!