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

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

发布了10 篇原创文章 · 获赞 11 · 访问量 68

猜你喜欢

转载自blog.csdn.net/qq494686707/article/details/105219032
今日推荐