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

install dependencies error #2

Open
huminted opened this issue Dec 16, 2024 · 1 comment
Open

install dependencies error #2

huminted opened this issue Dec 16, 2024 · 1 comment

Comments

@huminted
Copy link

pip3 install --no-cache-dir -r requirements.txt

Collecting openai>=1.0.0 (from -r requirements.txt (line 1))
Downloading openai-1.57.4-py3-none-any.whl.metadata (24 kB)
Collecting httpx>=0.24.1 (from -r requirements.txt (line 2))
Downloading httpx-0.28.1-py3-none-any.whl.metadata (7.1 kB)
Collecting yt-dlp>=2023.11.16 (from -r requirements.txt (line 3))
Downloading yt_dlp-2024.12.13-py3-none-any.whl.metadata (172 kB)
Collecting openai-whisper>=2023.11.17 (from -r requirements.txt (line 4))
Downloading openai-whisper-20240930.tar.gz (800 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 800.5/800.5 kB 21.0 MB/s eta 0:00:00
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 "/Users/humin/Project/Video_note_generator/path/to/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
~~~~^^
File "/Users/humin/Project/Video_note_generator/path/to/venv/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 "/Users/humin/Project/Video_note_generator/path/to/venv/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/_c/pxpk9t8x7wsdt4_0lclb65lh0000gn/T/pip-build-env-8so17f_k/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/_c/pxpk9t8x7wsdt4_0lclb65lh0000gn/T/pip-build-env-8so17f_k/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/private/var/folders/_c/pxpk9t8x7wsdt4_0lclb65lh0000gn/T/pip-build-env-8so17f_k/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/_c/pxpk9t8x7wsdt4_0lclb65lh0000gn/T/pip-build-env-8so17f_k/overlay/lib/python3.13/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

@lycos123456
Copy link

python版本太高了,我换成3.10解决了

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

2 participants