PYTHON--PIP installation Error: is not a supported wheel on this platform

Source: Internet
Author: User

PIP installation Error: is not a supported wheel in this platform

Possible cause 1: Install a library that is not the corresponding Python version, the downloaded library name Cp35 represents python3.5, and so on.

Possible cause 2: This is the case I encountered (download the corresponding version of the library, and then still prompt does not support the current platform)

I downloaded the twisted library file name:

Twisted-17.5.0-cp35-cp35m-win_amd64.whl

Install using PIP (on the command line):

Pip Install TWISTED-17.5.0-CP35-CP35M-WIN_AMD64.WHL

Error: * is not a supported wheel in this platform, through a post on StackOverflow successfully resolved the issue.

Method: Enter in the shell

Import pip
Print (Pip.pep425tags.get_supported ())

There are also versions of the file names that can be obtained to the PIP support, as I have here:

>>ImportPipPrint(pip.pep425tags.get_supported ()) [('Cp35','None','Win_amd64'), ('Py3','None','Win_amd64'), ('Cp35','None','Any'), ('Cp3', 'None', 'Any'), ('Cp34', 'None', 'Any'), ('Cp33', 'None', 'Any'),('CP32','None',' any'), ('cp31','None',' any'), ('CP30','None',' any'), ('py35', 'None', 'Any'), ('Py3', 'None', 'Any'), ('Py34', 'None', 'Any'), ('Py33', 'None', 'Any'), ('Py32', 'None', 'Any'), ('Py31', 'None', 'Any'), ('Py30', 'None',' any')]

Here you can find the file name of the above download format is not supported, modified to: TWISTED-17.5.0-CP35-NONE-WIN_AMD64.WHL can be installed successfully.

Other libraries can also be installed successfully, but be aware of library dependencies.

PYTHON--PIP installation Error: is not a supported wheel on this platform

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.