Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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. 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?

like image 796
wazzu62 Avatar asked Oct 18 '17 19:10

wazzu62


1 Answers

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.

like image 121
Charles Duffy Avatar answered Oct 02 '22 11:10

Charles Duffy