python pip3 出现 HTTPSConnectionPool(host='pypi.org', port=443)

Eleanor ·
更新时间:2024-11-01
· 690 次阅读

python pip3 执行时,出现如下情况:

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

解决方法:

安装新版 openssl,安装步骤请查看:https://blog.csdn.net/qq494686707/article/details/105219055


作者:qq494686707



port pypi pip host Python

需要 登录 后方可回复, 如果你还没有账号请 注册新账号