PIP安装python包,报ERROR: No matching distribution found for XXXXX 问题的处理

这篇具有很好参考价值的文章主要介绍了PIP安装python包,报ERROR: No matching distribution found for XXXXX 问题的处理。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

最近在安装python包的时候老是报一个错误:

PS C:\Users\Administrator> pip install matplotlib
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('_ssl.c:980: The handshake operation timed out'))': /simple/matplotlib/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('_ssl.c:980: The handshake operation timed out'))': /simple/matplotlib/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('_ssl.c:980: The handshake operation timed out'))': /simple/matplotlib/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('_ssl.c:980: The handshake operation timed out'))': /simple/matplotlib/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('_ssl.c:980: The handshake operation timed out'))': /simple/matplotlib/
ERROR: Could not find a version that satisfies the requirement matplotlib (from versions: none)
ERROR: No matching distribution found for matplotlib
WARNING: There was an error checking the latest version of pip.

不管怎么装,都装不上,不同的包都是报这个错误,在网上找到的内容大多都相同,说是重新安装,或者加参数,结果全没用,最后准备排查python版本的问题,准备降级试一下。
因为之前安装的时候,是安装的3.10.2,以为是包不支持3.10或3.11,准备跑官网准备下载3.9试试,但是想想3.10都已经出来那么久了,3.11都出来了,没道理不支持,就再去看了一下3.10的版本,最新的是3.10.9,而主要版本是3.10.8。

Python 3.10.8 is the newest major release of the Python programming language, and it contains many new features and optimizations.

一般来说,包的支持的应该都是支持主要版本,而我安装的3.10.2,估计是版本不对,遂升级到3.10.9,OK,解决了,升级之后一下就安装上了。。。。

所以以后安装python的时候,还是直接装主要版本吧,其它小版本直接跳过了。文章来源地址https://www.toymoban.com/news/detail-522972.html

到了这里,关于PIP安装python包,报ERROR: No matching distribution found for XXXXX 问题的处理的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 已解决ERROR: No matching distribution found for xpinyin

    已解决(pip使用阿里云镜像安装第三方模块失败)ERROR: Could not find a version that satisfies the requirement xpinyin (from versions: none) ERROR: No matching distribution found for xpinyin WARNING: The repository located at mirrors.aliyun.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS w

    2023年04月20日
    浏览(35)
  • ERROR: No matching distribution found for gradio>=3.23

    今天运行chatGPTweb项目的时候 跟下载其他包时候一样使用清华源下载的时候,pip install gradio==3.23 -i https://pypi.python.org/pypi 然后, 报错了 。 国内的镜像源还没有更新到 gradio=3.23,所以需要科学上网,手动去pypi官网下载whl,然后通过whl下载即可。 1.从官网中下载gradio编译的pyd文

    2024年02月11日
    浏览(40)
  • Python安装tensorflow过程中出现“No matching distribution found for tensorflow”的解决办法

    在Pycharm中使用 pip install tensorflow 安装tensorflow时报错: 搜了好多帖子有的说可能是网络的问题,需要换国内的镜像源来下载,于是改用清华源: 依旧没用,折腾了好久,才发现我目前的Python版本是Python3.8(32位)的,可能是tensorflow对python3.8还不支持,所以得 降低python版本 (好

    2024年02月03日
    浏览(31)
  • 已解决ERROR: No matching distribution found for gradio==3.23

    已解决stderr: ERROR: Could not find a version that satisfies the requirement gradio==3.23 ERROR: No matching distribution found for gradio==3.23 粉丝群里面的一个小伙伴遇到问题跑来私信我,想用pip安装gradio ,但是发生了报错(当时他心里瞬间凉了一大截,跑来找我求助,然后顺利帮助他解决了,顺便记

    2023年04月18日
    浏览(31)
  • jenkins构建时,报错ERROR: No matching distribution found for pywin32==305

    最近用jenkin构建了一个任务,控制台输出,出现如下报错信息: ERROR: Could not find a version that satisfies the requirement pywin32==305 (from versions: none) ERROR: No matching distribution found for pywin32==305 Build step \\\'Execute shell\\\' marked build as failure Finished: FAILURE   原因: requirement是需要导入的依赖包文件

    2023年04月27日
    浏览(32)
  • 解决报错ERROR: No matching distribution found for torchvision==0.11.2+cu111

    目录 一、猜测 二、验证 三、解决方案 四、检验 该报错是在按官网方法用指令: 安装pytorch时出现的,以下是分析: 这个错误提示表明在指令提供的下载网址上没有找到符合要求的torchvision软件包版本,需要安装符合要求的版本。问题可能出在指定的版本号(0.11.2+cu111),这

    2024年02月11日
    浏览(28)
  • Selenium安装报错:No matching distribution found for selenium。经个人尝试,问题已得到解决

    常规的安装方法: a、pippip install selenium b、pip install --index https://mirrors.ustc.edu.cn/pypi/web/simple/ selenium c、pip --default - timeout=100 install selenium d、其他的映射路径……………… 如果上面几种方法都会报错同样的错误:No matching distribution found for selenium(from versions:one)  网上找了很

    2024年02月02日
    浏览(32)
  • 解决MAC笔记本Stable Diffusion安装时报No matching distribution found for tb-nightly的问题

    安装时报如下错误: 重点看“No matching distribution found for tb-nightly”这个报错。这个错误是说明,我们的pip源中没有对应的“tb-nightly”依赖包。 查看pip的配置: pip config list ,看到配置如下: global.index-url=\\\'https://pypi.tuna.tsinghua.edu.cn/simple\\\' 这说明,使用的清华的pip源中缺少tb-

    2024年02月12日
    浏览(25)
  • No matching distribution found for torch==1.10.1+cu111

    30系显卡暂时不支持CUDA11以下版本,CUDA不支持当前显卡的算力。 解决方法1:https://blog.csdn.net/weixin_43760844/article/details/115706289 解决方法2:conda下载cudatoolkit (貌似没有解决问题, 嘿嘿, 可能只能卸载cuda了) 首先搜索安装包的版本 然后安装固定版本的cudatoolkit,我的cuda最高

    2024年02月07日
    浏览(32)
  • ingress-http部署error: resource mapping not found for name...no matches for kind “Ingress“ in version

    根据一些参考文档,学习部署 ingress-http 服务,出现了一些error信息,网上难找直接的处理方式,最后才发现是资源清单使用问题,还是得看官方文档说明。 创建ingress-http.yaml 使用的基本yaml配置如下—— 部署ingress服务 出现error信息 错误一: 处理方式—— 根据 官方文档:

    2024年02月06日
    浏览(30)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包