[Solved] … is not a supported wheel on this platform

The error message “… is not a supported wheel on this platform.” means there is some incompatibility between the wheel package and your version of Python.

Two common sources of this error are that…

  1. the package expects a different system type (32-bit vs 64-bit).
  2. your system doesn’t have or can’t identify the necessary version of Python i.e. you only have a 3.x version installed, but the package requires Python 2.7.

Fix for Issue 1

The fix is either to download the other version (32-bit if you downloaded 64-bit and vice versa) or change the wheel’s file name if you know you need the version you have.

For example:

scipy-0.15.1-cp34-none-win_amd64.whl becomes

scipy-0.15.1-cp34-none-win32.whl

Installing again using the new file name should successfully install the package.

Fix for Issue 2

You will need to ensure the version of Python you have and the version the package expects are the same.  You might have to either install a different version of python or a different version of the package.  If the package only supports a certain version of Python, then the only fix is to download the required Python version.

 

Where to find wheel packages?

Unofficial Windows Binaries for Python Extension Packages – http://www.lfd.uci.edu/~gohlke/pythonlibs/

 

Python packages I’ve had this issue with:

  • Anshika Kankane

    According to your article .whl is not a supported wheel on this platform, you specified 2 issues with their solutions. I’ve tried resolving both the issues by installing multiple different .whl files and also by installing both the versions of python but still my problem is not resolved. Can you help me out with this?
    I am facing issues while downloading dlib library.