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

error: subprocess-exited-with-error有大佬知道原因吗,万分感谢 #162

Open
kkkwjr opened this issue Sep 12, 2024 · 1 comment
Open

Comments

@kkkwjr
Copy link

kkkwjr commented Sep 12, 2024

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Collecting clip@ git+https://mirror.ghproxy.com/https://github.com/openai/CLIP.git@main (from -r requirements.txt (line 3))
Cloning https://mirror.ghproxy.com/https://github.com/openai/CLIP.git (to revision main) to /tmp/pip-install-5gzr10la/clip_147d0a7ece9f4b7b9b81c97206381141
Running command git clone --filter=blob:none --quiet https://mirror.ghproxy.com/https://github.com/openai/CLIP.git /tmp/pip-install-5gzr10la/clip_147d0a7ece9f4b7b9b81c97206381141
warning: redirecting to https://ghp.ci/https://github.com/openai/CLIP.git/
Resolved https://mirror.ghproxy.com/https://github.com/openai/CLIP.git to commit dcba3cb2e2827b402d2701e7e1c7d9fed8a20ef1
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 14, in
File "/home/wpg/anaconda3/lib/python3.12/site-packages/setuptools/init.py", line 16, in
import setuptools.version
File "/home/wpg/anaconda3/lib/python3.12/site-packages/setuptools/version.py", line 1, in
import pkg_resources
File "/home/wpg/anaconda3/lib/python3.12/site-packages/pkg_resources/init.py", line 2172, in
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

@kkkwjr
Copy link
Author

kkkwjr commented Sep 12, 2024

我知道了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

1 participant