如何在aarch64 / armv8平台上安装python pip?

时间:2018-09-11 13:34:01

标签: python pip arm64 armv8

我有一块由Linux内核驱动的主板。该板采用aarch64 / armv8架构。该开发板没有 apt-get ,但是具有easy_install。我尝试使用easy_install进行安装,出现以下错误,

root@armboard:~# easy3_install pip
Searching for pip
Reading https://pypi.python.org/simple/pip/
Download error on https://pypi.python.org/simple/pip/: [Errno -2] Name or service not known -- Some packages may not be found!
Couldn't find index page for 'pip' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found!
No local packages or working download links found for pip
error: Could not find suitable distribution for Requirement.parse('pip')
  

root @ armboard:〜#easy3_install --version

     /usr/lib/python3.5/site-packages(Python 3.5)中的

setuptools 36.2.7

请提出在此平台上安装pip的方法。

如果使用easy_install可以实现此错误,我应该遵循哪些步骤?

如果不能,我是否会获得针对该体系结构的交叉编译的pip二进制文件,或者任何Yocto构建可用?

1 个答案:

答案 0 :(得分:0)

如果easy_install pip不起作用,则可以尝试构建源。 https://archlinuxarm.org/packages/aarch64/python-pip