python3.7.5使用时报错DeprecationWarning
ubuntu18.04 server python3.7.5
使用时提示 “/usr/local/python3.7.5/bin/pip3 DeprecationWarning: pkg_resources is deprecated as an API. See setuptools.pypa.io/en/latest/pkg_r...
from pkg_resources import load_entry_point” 无法解决,
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)’: /simple/setuptools/
“ error: subprocess-exited-with-error
× pip subprocess to install build dependencies 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.
full command: /usr/local/python3.7.5/bin/python3 /usr/local/python3.7.5/lib/python3.7/site-packages/pip-23.2-py3.7.egg/pip/pip-runner.py install –ignore-installed –no-user –prefix /tmp/pip-build-env-fifmcrf2/overlay –no-warn-script-location –no-binary –only-binary
-i pypi.org/simple – ‘setuptools>=42’ wheel ‘pybind11>=2.8.0’
cwd: [inherit]
Installing build dependencies … error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
”
推荐文章: