【错误记录】Python 安装依赖库报错 ( ERROR: Could not find a version that satisfies the requirement elftools )
2023-06-13 09:17:59 时间
文章目录
一、报错信息
报错信息 :
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教程入门学习】PyCharm下载和安装教程(包含配置Python解释器)
- python第三方库的安装方法有哪些_如何安装python的第三方库
- Python多线程通信_python socket多线程
- python中导入numpy为什么错误_pycharm安装配置教程
- python实现矩阵的转置_Python实现矩阵转置的方法分析
- python qt是什么_初识Python与Qt「建议收藏」
- 12个Python数据可视化库
- 在python中用来安装第三方库的常用工具_什么库用于安装管理Python扩展包
- Python安装失败_python第三方库安装失败
- 用Python绘制了几张有趣的可视化图表
- python-Python与PostgreSQL数据库-使用Python执行PostgreSQL查询(一)
- 在Linux上搭建Python开发环境(linux搭建python环境)
- python实现lower_bound和upper_bound详解编程语言
- Linux环境下安装Python(linux装python)
- 回顾一下 Python 3.4 中的枚举
- Python轻松连接SQL Server数据库(python连接sqlserver)
- Python在MSSQL中的应用实践(python与mssql)
- Linux下从系统卸载Python(linux下卸载python)
- Python完全新手教程
- python实现2014火车票查询代码分享