-
Notifications
You must be signed in to change notification settings - Fork 101
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
阿里云ecs Ubuntu 22.04,安装依赖报错 #68
Comments
使用python3.10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [42 lines of output]
/usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'index-url' will not be supported in future versions. Please u se the underscore name 'index_url' instead
warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/init.py:116: PkgResources DeprecationWarning: 1.1build1 is an invalid version and will not be supported in a future release
warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/init.py:116: PkgResources DeprecationWarning: 0.1.43ubuntu1 is an invalid version and will not be supporte d in a future release
warnings.warn(
/usr/lib/python3/dist-packages/setuptools/installer.py:27: SetuptoolsDepre cationWarning: setuptools.installer is deprecated. Requirements should be satisf ied by a PEP 517 installer.
warnings.warn(
WARNING: The repository located at mirrors.cloud.aliyuncs.com is not a tru sted or secure host and is being ignored. If this repository is available via HT TPS we recommend you use HTTPS instead, otherwise you may silence this warning a nd allow it anyway with '--trusted-host mirrors.cloud.aliyuncs.com'.
ERROR: Could not find a version that satisfies the requirement pkgconfig ( from versions: none)
ERROR: No matching distribution found for pkgconfig
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 82, in fetch_build_egg
subprocess.check_call(cmd)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpko9cpqcj', ' --quiet', '--index-url', 'http://mirrors.cloud.aliyuncs.com/pypi/simple/', 'pkgc onfig']' returned non-zero exit status 1.
note: This error originates from a subprocess, and is likely not a problem wit h 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.
The text was updated successfully, but these errors were encountered: