【Python】pip安装报错Could not fetch URL https://pypi.org/simple/numpy/: There was a problem confirming th

16 篇文章 1 订阅

 

Could not fetch URL https://pypi.org/simple/numpy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numpy/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement numpy (from versions: none)
ERROR: No matching distribution found for numpy

 

参考:https://www.cnblogs.com/erchun/p/12574875.html

使用以下命令解决,找了好久

pip install numpy -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

  • 4
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
引用提供了pycrypto的下载地址为https://pypi.python.org/pypi/pycrypto。该链接指向的网页是用于下载pycrypto包的页面。你可以在这个链接上找到pycrypto的最新版本并下载安装。引用中提到,在安装pycrypto时最好保持联网状态,因为它会自动下载依赖包pycrypto。这意味着在使用python setup.py install命令安装pycrypto时,如果你的电脑联网,它会自动下载pycrypto的依赖包。引用提供了PyQt5包的国内镜像地址为https://pypi.tuna.tsinghua.edu.cn/simple/。这个镜像地址可以用于在PyCharm中添加国内镜像源来安装PyQt5包。添加这个镜像源可以帮助你在下载和安装PyQt5包时提高速度和成功率。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [https://pypi.python.org/pypi/ssh](https://blog.csdn.net/weixin_39943442/article/details/114909903)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *3* [PyCharm下添加国内镜像源 https://pypi.tuna.tsinghua.edu.cn/simple/ 安装PyQt5包](https://blog.csdn.net/hnjzsyjyj/article/details/115712516)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值