python - 有人可以帮我在 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.
当然,我尝试过重新启动内核,但没有任何改变。
解决方案
推荐阅读
- django - How to set Session on LoginView in-built Django
- ruby-on-rails - 在 AREL 中横向连接
- reactjs - 如何从地图(类型)中获取信息
- here-api - 如何使用 curl 提交新地址
- python - 如何允许用户将单个列表项输入到列表列表中?
- tomcat - JMeter - AJP 采样器因非 HTTP 响应消息而失败
- javascript - 等待后未调用承诺
- php - 致命错误:找不到类 'Illuminate\Console\Command'
- maven - 添加我的 H2 依赖项后项目对象模型中的错误
- google-cloud-platform - Google AutoML 训练错误/无法部署模型