当前位置:   article > 正文

Python 报错 ERROR: No matching distribution found for xxx_no matching distribution found for python

no matching distribution found for python


1. 报错

例如在安装 Python 包的时候,有时会出现这种情况:

ERROR: Could not find a version that satisfies the requirement bokeh (from versions: none)
ERROR: No matching distribution found for bokeh
  • 1
  • 2

例如还有:

ERROR: Could not find a version that satisfies the requirement torndb (from versions: none)
ERROR: No matching distribution found for torndb
  • 1
  • 2

2. 可能的解决方法

python -m pip install --upgrade pip
pip install xxx -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.douban.com 
  • 1
  • 2

常见 pip 国内镜像源:

清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:http://pypi.hustunique.com/
山东理工大学:http://pypi.sdutlinux.org/
豆瓣:http://pypi.douban.com/simple/
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

在这里插入图片描述

3. 参考

https://blog.csdn.net/weixin_40267472/article/details/130750011

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号