文章目录

  • 一、报错信息
  • 二、解决方案

一、报错信息


报错信息 :

ERROR: Could not find a version that satisfies the requirement elftools (from versions: none)
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
ERROR: Could not find a version that satisfies the requirement elftools (from versions: none)
ERROR: No matching distribution found for elftools

二、解决方案


遇到 ERROR: Could not find a version that satisfies the requirement xxx 问题 , 先排除是否是网络问题 , 先搭梯子试试是否能安装成功 ;

在代码中 , 使用了如下代码 :

from elftools.elf.elffile import ELFFile

elftools.elf.elffile 需要导入依赖库 ;

默认提示 " Install package elftools " , 安装的是 elftools 库 ;

点击 " More Actions … " , 查看是否有其它选项 , 这里还可以安装 pyelftools 库 ;

pyelftools 库安装成功 ;

【错误记录】Python 安装依赖库报错 ( ERROR: Could not find a version that satisfies the requirement elftools )相关推荐

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

  2. Mac用Pycharm安装mediapipe报错ERROR: Could not find a version that satisfies the requirement mediapipe

    问题 因为最近要用python做一个手部检测的项目,于是用找了个开源的程序跑了跑,发现安装mediapipe的时候会报错 ERROR: Could not find a version that sa ...

  3. pip下载包报错ERROR: Could not find a version that satisfies the requirement xxxx==1.0.2 (from versions

    我在安装pymysql的时候报错 ERROR: Could not find a version that satisfies the requirement pymysql==1.0.2 (from ...

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

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

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

  6. python 导包报错:ERROR: Could not find a version that satisfies the requirement dateutil

    terminal执行脚本: pip install python-dateutil

  7. pip安装tensorflow报错:could not find a version that satisfies the requirement grpcio>=1.8.6

    pip安装tensorflow报错:could not find a version that satisfies the requirement grpcio>=1.8.6 (venv) D: ...

  8. yarn安装依赖包报错 error An unexpected error occurred: “https://registry.npm.taobao.orgnpm/element-ui: get

    yarn安装依赖包报错,error An unexpected error occurred: "https://registry.npm.taobao.orgnpm/element-ui: ...

  9. pip安装tensorflow报错:could not find a version that satisfies the requirement grpcio=1.8.6

    下图红色字体为错误提示: - ERROR: Could not find a version that satisfies the requirement grpcio>=1.8.6 (from ...

最新文章

  1. Python程序员Debug利器,和Print说再见 | 技术头条
  2. 来啦!机器学习画图神器来啦!
  3. Attack on Alpha-Zet
  4. 文件系统管理 之 Linux 查看磁盘分区、文件系统、使用情况的命令和相关工具介绍...
  5. 黄聪:SQL server 2005高可用性之----数据库镜像
  6. Hashcode 的作用
  7. oracle安装gcc报错,ubuntu 安装oracle10g
  8. 构造函数创建私有变量(防继承)
  9. NHibernate ModelBinder for mvc3
  10. 微信小程序开发总结与心得(二)
  11. MAC hosts 文件修改流程
  12. Skiller V3
  13. c语言 圆周率10000位,圆周率(小数点后10000位,背死你)
  14. LM7805的特殊使用方法
  15. 你知道数据运营日常主要工作吗?
  16. b站老是服务器中断,​B站就服务器故障致歉,服务器连接失败原因与解决方法...
  17. Win32病毒入门--ring3篇
  18. PHP json_encode float
  19. 高德地图搜索结果点击事件
  20. 简单模拟图卷积(numpy实现)

热门文章

  1. 在项目中引入领域驱动设计的经验
  2. nexys3使用笔记1
  3. java连接腾讯云上的redis
  4. Sql Server 连接池
  5. 简单的横向ListView实现(version 3.0)
  6. 【对比分析四】position的absolute与fixed共同点与不同点
  7. 导航选中后标记的样式实现滑动效果
  8. Nginx的安装和配置文件详细说明
  9. 启动nginx服务提示 nginx: [emerg] still could not
  10. Spring自学教程-ssh整合(六)