0

我有一块由 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 的 setuptools 36.2.7 (Python 3.5)

请建议在此平台上安装 pip 的方法。

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

如果不是,我应该为这个架构获得交叉编译的 pip 二进制文件,还是有任何 Yocto 版本可用?

4

1 回答 1

0

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

于 2018-09-11T13:36:36.397 回答