Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

× 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. #19

Open
sherazi5110 opened this issue Oct 28, 2024 · 2 comments

Comments

@sherazi5110
Copy link

Collecting openai-whisper@ git+https://github.com/openai/whisper.git@ba3f3cd54b0e5b8ce1ab3de13e32122d0d5f98ab (from -r /Users/syedalihamza/Downloads/requirements.txt (line 13))
Cloning https://github.com/openai/whisper.git (to revision ba3f3cd54b0e5b8ce1ab3de13e32122d0d5f98ab) to /private/var/folders/r8/y63fgg1x6y3gj4yw7pzwt3nw0000gn/T/pip-install-20zcttou/openai-whisper_eb645e5a0d664d8b9947920f546495d5
Running command git clone --filter=blob:none --quiet https://github.com/openai/whisper.git /private/var/folders/r8/y63fgg1x6y3gj4yw7pzwt3nw0000gn/T/pip-install-20zcttou/openai-whisper_eb645e5a0d664d8b9947920f546495d5
Running command git rev-parse -q --verify 'sha^ba3f3cd54b0e5b8ce1ab3de13e32122d0d5f98ab'
Running command git fetch -q https://github.com/openai/whisper.git ba3f3cd54b0e5b8ce1ab3de13e32122d0d5f98ab
Running command git checkout -q ba3f3cd54b0e5b8ce1ab3de13e32122d0d5f98ab
Resolved https://github.com/openai/whisper.git to commit ba3f3cd54b0e5b8ce1ab3de13e32122d0d5f98ab
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]
: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 "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
~~~~^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/in_process/in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/private/var/folders/r8/y63fgg1x6y3gj4yw7pzwt3nw0000gn/T/pip-build-env-dhlb3jw
/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
return self.get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/r8/y63fgg1x6y3gj4yw7pzwt3nw0000gn/T/pip-build-env-dhlb3jw
/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 302, in get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/private/var/folders/r8/y63fgg1x6y3gj4yw7pzwt3nw0000gn/T/pip-build-env-dhlb3jw
/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 516, in run_setup
super().run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/r8/y63fgg1x6y3gj4yw7pzwt3nw0000gn/T/pip-build-env-dhlb3jw
/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 318, 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

× 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.

@manenga
Copy link

manenga commented Dec 7, 2024

Same here

@bml3i
Copy link

bml3i commented Dec 27, 2024

Exactly the same issue when trying to install whisper...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants