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