Home > Article > Backend Development > Why is \"filename.whl is not a supported wheel on this platform\" error occurring during SciPy installation?
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
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!