问题
I am new to python, and am trying to install some modules/packages using .whl file. The system does not have access to the internet so everything is local.
- I'm running RHEL 6.9 64bit 2.6.32-696.10.1.el6.x86_64
Python is version 2.7.12 (altinstalled with 2.6)
platform.architecture() ('64bit', 'ELF')
I'm running pip 9.0.1
Attempt at installing 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?
回答1:
cp27-cp27m
manylinux packages are compatible with a Python interpreter compiled with --enable-unicode=ucs2
.
For an interpreter compiled with --enable-unicode=ucs4
, you instead need cp27-cp27mu
packages.
来源:https://stackoverflow.com/questions/46817359/whl-is-not-a-supported-wheel-on-this-platform