Home >Backend Development >Python Tutorial >Why am I getting the \'filename.whl is not a supported wheel on this platform\' error when installing Python packages?

Why am I getting the \'filename.whl is not a supported wheel on this platform\' error when installing Python packages?

Susan Sarandon
Susan SarandonOriginal
2024-11-04 18:30:02603browse

Why am I getting the

"Platform Incompatibility: "filename.whl is not a supported wheel" Error

When attempting to install a pre-built Python package (.whl) locally, users may encounter the "filename.whl is not a supported wheel on this platform" error. This occurs when the specified wheel is not compatible with the target machine's operating system or Python interpreter version.

The provided error indicates that the package scipy-0.15.1-cp33-none-win_amd64.whl is not suitable for the user's current environment. The string "cp33" in the filename suggests that the wheel was built for Python 3.3.

To resolve this issue, the user should download the correct wheel that соответствует with their Python interpreter version. In this case, they require scipy-0.15.1-cp27-none-win_amd64.whl for Python 2.7.

The above is the detailed content of Why am I getting the \'filename.whl is not a supported wheel on this platform\' error when installing Python packages?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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