× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
:5: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Traceback (most recent call last):
File "C:\Users\xiaodong zhu\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in
main()
~~~~^^
File "C:\Users\xiaodong zhu\AppData\Local\Programs\Python\Python313\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\xiaodong zhu\AppData\Local\Programs\Python\Python313\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\xiaodong zhu\AppData\Local\Temp\pip-build-env-wb8qqwbs\overlay\Lib\site-packages\setuptools\build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xiaodong zhu\AppData\Local\Temp\pip-build-env-wb8qqwbs\overlay\Lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "C:\Users\xiaodong zhu\AppData\Local\Temp\pip-build-env-wb8qqwbs\overlay\Lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xiaodong zhu\AppData\Local\Temp\pip-build-env-wb8qqwbs\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "", line 21, in
File "", line 11, in read_version
KeyError: '__version__'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
It seems your issue appeared during whisper installation.
You can try remove whisper line from requirements as it is no longer a necessary dependency for this project
pip install -r requirements.txt Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu113 Collecting git+https://github.com/openai/whisper.git (from -r requirements.txt (line 11)) Cloning https://github.com/openai/whisper.git to c:\users\xiaodong zhu\appdata\local\temp\pip-req-build-0mq7_10r Running command git clone --filter=blob:none --quiet https://github.com/openai/whisper.git 'C:\Users\xiaodong zhu\AppData\Local\Temp\pip-req-build-0mq7_10r' Resolved https://github.com/openai/whisper.git to commit 173ff7dd1d9fb1c4fddea0d41d704cfefeb8908c 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 ╰─> [25 lines of output]