【发布时间】:2018-09-11 13:34:01
【问题描述】:
我有一块由 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 版本都可用?
【问题讨论】:
-
easy_install pip适合你吗? -
@Andrew_Lvov 是的,我试过了,但是没有用。