Python2.7 Install Numpy Error:is not a supported wheel on…

The error message of installing numpy in python2.7 is as follows:

C:\Python27\Scripts>pipinstall"numpy-1.9.2+mkl-cp26-none-win_amd64.whl"
numpy-1.9.2+mkl-cp26-none-win_amd64.whlisnotasupportedwheelonthisplatfor
m.

Error reason:

In fact, my Python version is 2.7 and my numpy version is 2.6, so it’s wrong

Solution:

See: file name.wheel is not supported wheel on this platform

Download the numpy installation file of the corresponding version of Python:

Download the file version cp27

Re install run:

C:\Python27\Scripts>pipinstall"numpy-1.9.2+mkl-cp26-none-win_amd64.whl"
numpy-1.9.2+mkl-cp26-none-win_amd64.whlisnotasupportedwheelonthisplatfor
m.

C:\Python27\Scripts>pipinstallC:\python-tools\numpy-1.9.2+mkl-cp27-none-win_am
d64.whl
Processingc:\python-tools\numpy-1.9.2+mkl-cp27-none-win_amd64.whl
Installingcollectedpackages:numpy
Foundexistinginstallation:numpy1.9.2
Uninstallingnumpy-1.9.2:
Successfullyuninstallednumpy-1.9.2
Successfullyinstallednumpy-1.9.2

C:\Python27\Scripts>

Successfully installed

Verify the installation success in shell:

>>>fromnumpyimport*
>>>

Similar Posts: