[英]whl is not a supported wheel on this platform
I am new to python, and am trying to install some modules/packages using .whl file. 我是python的新手,正在尝试使用.whl文件安装一些模块/软件包。 The system does not have access to the internet so everything is local.
该系统无法访问互联网,因此一切都在本地。
Python is version 2.7.12 (altinstalled with 2.6) Python是2.7.12版(与2.6一起安装)
platform.architecture() ('64bit', 'ELF') platform.architecture()('64bit','ELF')
I'm running pip 9.0.1 我正在运行pip 9.0.1
Attempt at installing numpy: 尝试安装numpy:
# /usr/local/bin/pip2.7 install numpy-1.13.3-cp27-cp27m-manylinux1_x86_64.whl
numpy-1.13.3-cp27-cp27m-manylinux1_x86_64.whl is not a supported wheel on this platform.
So what am I missing? 那我想念什么呢?
cp27-cp27m
manylinux packages are compatible with a Python interpreter compiled with --enable-unicode=ucs2
. cp27-cp27m
Linux软件包与使用--enable-unicode=ucs2
编译的Python解释器兼容。
For an interpreter compiled with --enable-unicode=ucs4
, you instead need cp27-cp27mu
packages. 对于使用
--enable-unicode=ucs4
编译的解释器,您需要cp27-cp27mu
软件包。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.