Binary installation file Download address: https://www.lfd.uci.edu/~gohlke/pythonlibs/
Problem: Pip installation error, XXXX is not a supported wheel on this platform
Possible cause 1: installed not corresponding to the Python version of the library, the downloaded library name CP27 representative python2.7, others the same.
Possible reason 2: This is the situation I have encountered (download the corresponding version of the library, and then still prompted not to support the current platform)
The NumPy library filename i downloaded to: NUMPY-1.10.4+MKL-CP27-CP27M-WIN32.WHL
Install using PIP (on the command line): Pip install NUMPY-1.10.4+MKL-CP27-CP27M-WIN32.WHL
Error: * * is isn't a supported wheel on this platform, the problem was successfully resolved through a post on StackOverflow.
Method: Enter the import pip in the shell; Print (pip.pep425tags.get_supported ()) can obtain the filename supported by the PIP as well as the version I have here:
>>import Pip; Print (pip.pep425tags.get_supported ())
[(' Cp27 ', ' none ', ' Win32 '), (' Py2 ', ' none ', ' Win32 '), (' cp27 ', ' none ', ' any ') ), (' Cp2 ', ' none ', ' any '), (' cp26 ', ' none ', ' any '), (' Cp25 ', ' none ', ' no '), (' CP24 ', ' none ', ' any '), (' cp23 ', ' none ', ' Y '), (' Cp22 ', ' none ', ' any '), (' Cp21 ', ' none ', ' any '), (' Cp20 ', ' none ', ' no '), (' py27 ', ' none ', ' any '), (' Py2 ', ' none '), ' Any '), (' py26 ', ' none ', ' any ', (' py25 ', ' none ', ' any '), (' py24 ', ' none ', ' any '), (' py23 ', ' none ', ' any '), (' Py22 ', ' none ') , ' any '), (' Py21 ', ' none ', ' any '), (' Py20 ', ' none ', ' any ')]
Here you can find that the file name format downloaded above is not supported, modified to: NUMPY-1.10.4+MKL-CP27-NONE-WIN32.WHL can be successfully installed.
Other libraries can also be installed successfully, but please also note the dependencies of the library.
(Reference Post URL: http://stackoverflow.com/questions/28107123/cannot-install-numpy-from-wheel-format?rq=1)