Windows Python Extension Packages binary setup file __python

Source: Internet
Author: User
Tags win32

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.