Home > Article > Backend Development > Why Does \"filename.whl is not a supported wheel on this platform\" Error Occur?
Platform Incompatibility: Resolving "filename.whl is not a supported wheel on this platform" Error
When attempting to install a whl file, users may encounter an error stating "filename.whl is not a supported wheel on this platform." This error indicates a mismatch between the whl file and the current Python installation.
In the case described, the user is trying to install scipy-0.15.1-cp33-none-win_amd64.whl, which is a wheel file for CPython version 3.3. However, the user's Python installation is version 2.7.9.
The Issue
The "cp33" in the whl file name signifies that it is intended for Python version 3.3, while the error message indicates that the user's platform is not compatible with it. Essentially, the whl file is tailored for a different Python version than the one installed on the user's system.
The Solution
To resolve this issue, the user needs to obtain the correct whl file that is compatible with their Python version. In this case, the user would need to download scipy-0.15.1-cp27-none-win_amd64.whl, which is the whl file for CPython version 2.7.
After acquiring the correct whl file, the user can proceed with the installation using the following command:
pip install scipy-0.15.1-cp27-none-win_amd64.whl
The above is the detailed content of Why Does \"filename.whl is not a supported wheel on this platform\" Error Occur?. For more information, please follow other related articles on the PHP Chinese website!