MuseV icon indicating copy to clipboard operation
MuseV copied to clipboard

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

Open kkkwjr opened this issue 1 year ago • 1 comments

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 avatar Sep 12 '24 07:09 kkkwjr

我知道了python的版本不匹配,降到3.10就行了

kkkwjr avatar Sep 12 '24 07:09 kkkwjr