Home > Backend Development > Python Tutorial > Why Does \'filename.whl is not a supported wheel on this platform\' Error Occur?

Why Does \'filename.whl is not a supported wheel on this platform\' Error Occur?

Barbara Streisand
Release: 2024-11-01 06:43:30
Original
201 people have browsed it

Why Does

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!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template