Home > Backend Development > Python Tutorial > Why is \'filename.whl is not a supported wheel on this platform\' error occurring during SciPy installation?

Why is \'filename.whl is not a supported wheel on this platform\' error occurring during SciPy installation?

Mary-Kate Olsen
Release: 2024-10-31 08:18:30
Original
809 people have browsed it

Why is

Platform Compatibility Error: Installing ScyPy Wheel

When attempting to install the ScyPy-0.15.1-cp33-none-win_amd64.whl wheel file using pip, you encounter an error stating that "filename.whl is not a supported wheel on this platform." This error arises due to a platform compatibility mismatch.

Understanding the Error

The filename.whl contains a version of ScyPy compiled for CPython 3.3 (cp33). However, Python 2.7.9 is being used on the system. The two versions of Python have different CPython implementations, resulting in a compatibility issue.

Solution

To resolve this issue, obtain the correct wheel file for your Python version. For Python 2.7, you require ScyPy-0.15.1-cp27-none-win_amd64.whl instead of the cp33 version.

Installation Command

Replace the previous installation command with the following:

pip install scipy-0.15.1-cp27-none-win_amd64.whl
Copy after login

This command will install the correct wheel file for Python 2.7 and resolve the platform compatibility error.

The above is the detailed content of Why is \'filename.whl is not a supported wheel on this platform\' error occurring during SciPy installation?. 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