首页 > 解决方案 > 有人可以帮我在 Python 中使用 pip 吗?

问题描述

我正在尝试将 python 包安装为“Openpyxl”或“Pandas-profiling”,但遇到以下问题:

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(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)'))) - skipping
Note: you may need to restart the kernel to use updated packages.

当然,我尝试过重新启动内核,但没有任何改变。

标签: pythonpippackagessl-certificate

解决方案


推荐阅读