今天在使用pip安装模块的时候,发现无法使用。报错信息:Could not find a version that satisfies the requirement xxxxxxx(from versions: )No matching distribution found for xxxxx

网上查询了下,可能是网络的问题,所以,这里需要用国内的镜像源来下载

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

其中--trusted-host pypi.douban.com 的作用是获得ssl证书的认证

使用python 时会遇到缺少python 库的问题,提示 No module named ’ 安装包名字’ 问题

在解决安装包问题中在网上找了很多的方法,方法很多各种各样,对一部分人有用,对一部分没有用,下面我对这些方法做了整理,希望可以节省大家查问题解决问题的时间。

这时候根据No module named ’ 安装包名字’ 百度查解决方法,方法有很多,比如

解决方法一:pip install 安装包名字

解决方方法二:python -m pip install 安装包名字

解决方方法三:pip --trusted-host pypi.python.org install 安装包名字

这时候部分人会解决,但是还是会出现新的报错:
Retrying (

完美解决Could not find a version that satisfies the requirement xxx (from versions: )相关推荐

  1. 解决 Could not find a version that satisfies the requirement xxx

    在 Ubuntu 22 下为 python 2.7 安装 numpy.opencv 时的报错记录 电脑上的 Ubuntu 版本是 22.04.1,因为工作需要用到 python2,而 Python 2 ...

  2. 成功解决ERROR: Could not find a version that satisfies the requirement xgboost (from versions: none) ERR

    成功解决ERROR: Could not find a version that satisfies the requirement xgboost (from versions: none) ERR ...

  3. 解决Python安装pyqt5-tool出现的系列问题:ERROR: Could not find a version that satisfies the requirement xxx

    最近在做python GUI可视化编程项目,项目过程中需要使用PyQt5和QtTools资源包,因此需要使用pip install进行资源包的下载. 正常情况下安装资源包的命令如下: pip inst ...

  4. 解决 ERROR: Could not find a version that satisfies the requirement xxx 的问题

    解决 ERROR: Could not find a version that satisfies the requirement xxx 的问题 我们经常通过pip安装东西时常常会出现ERROR: ...

  5. ERROR: Could not find a version that satisfies the requirement XXX解决方法

    出现问题:ERROR: Could not find a version that satisfies the requirement XXX解决方法 找了很久终于找到能解决这种报错的方法了. 直接选 ...

  6. Python安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法

    我们在使用 pip 安装 python 包时,经常会出现如下错误: ERROR: Could not find a version that satisfies the requirement xxx ...

  7. Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法

    Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法 文章目录 ...

  8. pip安装出现ERROR: Could not find a version that satisfies the requirement xxx问题的解决办法

    转自:解决 ERROR: Could not find a version that satisfies the requirement xxx 的问题_JMU-HZH的博客-CSDN博客

  9. ERROR: Could not find a version that satisfies the requirement trusted-host (from versions: none) ER

    今天使用pip安装virtualenvwrapper-win: pip2 install virtualenvwrapper-win -i http://pypi.douban.com/simple ...

最新文章

  1. 好友国自然基金获批!畅饮之余透露给我这个秘密
  2. 热点:3个故事概览突飞猛进的肠道病毒组研究
  3. Session的lock()方法
  4. Hibernate基本配置
  5. php中new意思,php 在一个类中new自己代表什么意思 ?是构造函数
  6. 搜狗浏览器,你开源了吗?
  7. SAP Spartacus 成功读取 Cart 之后,如何将 payload 插入全局 state
  8. 五分钟用Docker快速搭建Go开发环境
  9. UI设计组件|临摹学习的必备
  10. Python 文件(文件夹)匹配(glob模块)(转载)
  11. Python: 常用的软件包
  12. 分享39个大数据可视化工具(数据分析必备)
  13. 全面图解路由器接口及连接
  14. 蓝桥杯 ALGO-45 算法训练 调和数列问题
  15. Vscode新建文件输入感叹号不能生成头文件
  16. Sky Walking 介绍 及 8.7.0 源码学习环境搭建
  17. google jib容器打包工具
  18. 【Willy Susilo 学术报告】Public-Key Encryption with Multi-Ciphertext Equality Test in Cloud Computing
  19. 【Linux】ps -ef 和ps aux 有什么不同呢?
  20. 基于51单片机的万年历(带温湿度)带闹钟功能proteus仿真原理图PCB

热门文章

  1. 让年轻人在年轻时做该做的事
  2. 三七互娱的荣与忧:手游业务大增、页游下滑,计提坏账准备3000万元
  3. java版溺尸掉三叉戟吗_「我的世界」新武器三叉戟见过吗?教你怎么获得怎么玩...
  4. 一步步学习微软InfoPath2010和SP2010--第四章节--处理SP列表表单(8)--关键点
  5. 如果说7nm是制程工艺物理极限 那么1nm是什么概念?
  6. python:turtle :带诗的玫瑰
  7. CSCAD AutoCAD 修改光标颜色
  8. java微信昵称保存_JAVA微信开发-如何保存包含特殊字符的微信昵称
  9. chrome插件TE--在chrome中使用IE内核打开指定url
  10. Java Api知识点