上次在Visual Studio Code安装yapf时,报错ERROR: Could not find a version that satisfies the requirement yapf.

最后经过摸索,出现这个问题的原因竟是国内网络不稳定,直接导致报错,而不是环境冲突。报错信息看起来容易把人误导到解决包环境问题。国内不稳定的环境一定程度上也为编程增加了阻力,只能希望墙能拆下吧。

解决方法:使用镜像源(如豆瓣)

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

解决 ERROR: Could not find a version that satisfies the requirement 的一种思路相关推荐

  1. 成功解决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 ...

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

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

  3. 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博客

  4. 解决pip无法安装bayes-opt报错:ERROR: Could not find a version that satisfies the requirement bayes-opt

    完整的报错是: ERROR: Could not find a version that satisfies the requirement bayes-opt ERROR: No matching ...

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

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

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

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

  7. 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 ...

  8. 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解决方法 文章目录 ...

  9. python pip下载本地依赖包,并在离线环境中安装,并解决报错ERROR: Could not find a version that satisfies the requirement报错

    文章目录 步骤1:导出依赖 步骤2:离线下载依赖包 步骤3:进入新环境使用python安装依赖 整体思路如下: 首先根据项目需要导出依赖包,由于本地的python环境中其实安装了很多乱七八糟的包,这些 ...

最新文章

  1. html 语言 gif 动画,动效篇(1)--从简单CSS3动画片段代码,到生成gif动图~
  2. 181920.net用 文字存档
  3. ubuntu系统下安装php环境
  4. 编译原理(二)之语法分析
  5. linux虚拟机ip修改无效
  6. 修改了WINCE自带的驱动程序后如何编译
  7. 文件上传至将File转换成MultiPartFile
  8. 活动事务日志以及事务的类型
  9. 权限细粒度管理(转)
  10. 【Java并发性和多线程】如何创建并运行java线程
  11. 7832:最接近的分数
  12. 无线网radius服务器ip,怎么设置无线路由器的radius服务器ip地址
  13. 第一阶段✦第二章☞信息系统集成及服务管理
  14. 使用python批量压缩图片文件
  15. ACL2021 | 任务型和开放域对话系统
  16. 【旧资料整理】硬盘-数据错误(循环冗余检查)
  17. 学而滑稽之,不亦君子乎
  18. 22-2-21 ETH币价今日价格分析
  19. P1014 [NOIP1999 普及组] Cantor 表
  20. 弹性布局自动排列DIV

热门文章

  1. 2012最新网站手工注入详解教程
  2. 小程序模板网站平台_小程序模板平台哪个好
  3. *p++、*(p++)、(*p)++、*++p、++*p的区别
  4. 无理数取模(二次剩余)
  5. 测试开发—Xcode使用远程手机调试
  6. mtd-utils交叉编译
  7. LinuxStudyNote(39)-Linux软件包管理(1)-Linux软件包简介之源码包与RPM包、源码包的优缺点、RPM二进制包的优缺点
  8. 《Day01》Java开发工程师必备技能:Maven的安装、使用以及重点
  9. JAVA 制作给定时间倒计时器
  10. Linux学习——废旧电脑再利用Ubuntu部署私有云Nextcloud