Python PIP安装程序中manylinux1与manylinux2020控制盘文件之间的差异
我在Python中面临一个有线问题,问题是Python PIP安装程序中manylinux1与manylinux2020控制盘文件之间的差异,python,pip,python-wheel,python-manylinux,Python,Pip,Python Wheel,Python Manylinux,我在Python中面临一个有线问题,问题是cryptography-2.9.2-cp35-abi3-manylinux2010\u x86\u 64。whl在SLES操作系统上不起作用 当我将软件包从requirements.txt下载到本地文件夹dist-packages时,我的repo中添加了一张CI/CD。Jenkins从机在RedHat Linux上运行。因此,它是与此文件一起下载的cryptography-2.9.2-cp35-abi3-manylinux2010_x86_64.whl
cryptography-2.9.2-cp35-abi3-manylinux2010\u x86\u 64。whl
在SLES操作系统上不起作用
当我将软件包从requirements.txt下载到本地文件夹dist-packages
时,我的repo中添加了一张CI/CD。Jenkins从机在RedHat Linux上运行。因此,它是与此文件一起下载的cryptography-2.9.2-cp35-abi3-manylinux2010_x86_64.whl
,而我的运行时是在SLES OS 11中,这需要cryptography-2.9.2-cp35-abi3-manylinux1_x86_64.whl
此特定依赖项cryptography-2.9.2-cp35-abi3-manylinux2010_x86_64。正在从RedHat下载whl
,当我将其重新分发到SLES操作系统时,此依赖项失败,出现以下错误
ERROR: Could not find a version that satisfies the requirement cryptography>=2.1.4 (from azure-identity->-r requirements.txt (line 2)) (from versions: none)
ERROR: No matching distribution found for cryptography>=2.1.4 (from azure-identity->-r requirements.txt (line 2))
如果我将依赖项名称从cryptography-2.9.2-cp35-abi3-manylinux2010_x86_64.whl
更改为cryptography-2.9.2-cp35-abi3-manylinux1_x86_64.whl
在SLES操作系统机器上工作正常
当我签入PyPI时(这两个文件大小相同,但哈希值不同)
我想了解python包中manylinux1_x86_64与manylinux2010_x86_64之间的区别
提前感谢。根据本文:,manylinux2010意味着它需要pip>=19.0
sudopython3-mpip安装——升级pip
也许会有帮助
manylinux项目的目标是提供一种方便的方法,在Linux上以轮子的形式分发二进制Python扩展。通过定义manylinux2010_x86_64和manylinux2010_i686平台标记,这项工作产生了进一步的增强
╔════════════════╦══════════════════════════════════╗
║ manylinux tag ║ Client-side pip version required ║
╠════════════════╬══════════════════════════════════╣
║ manylinux2014 ║ pip >= 19.3 ║
║ manylinux2010 ║ pip >= 19.3 ║
║ manylinux1 ║ pip >= 8.1.0 ║
╚════════════════╩══════════════════════════════════╝