Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing numpy from wheel format: "...is not a supported wheel on this platform"

I realize a question that relates to this has already been asked at Cannot install numpy from wheel format , but the solution presented there does not work for me. I have asked on that thread too (by answering!) but I'm not getting any replies, so here goes:

I have been trying to install matplotlib, but I first need to install numpy. I downloaded the file numpy-1.8.2+mkl-cp26-none-win_amd64.whl, then tried to install it using pip. The error message I keep getting is:

"numpy-1.8.2+mkl-cp26-none-win_amd64.whl is not a supported wheel on this platform". The solution suggested by the thread I referenced above, was to replace "_amd64" by "32", making the filename numpy-1.8.2+mkl-cp26-none-win32.whl. This did not work either, and I get exactly the same error as above.

Any suggestions?

I use Python 3.4.2 64-bit on Windows 7 64-bit.

like image 807
Konrad Avatar asked Feb 11 '15 17:02

Konrad


People also ask

Is not a supported wheel on this platform NumPy?

The error message “… is not a supported wheel on this platform.” means there is some incompatibility between the wheel package and your version of Python. Two common sources of this error are that… the package expects a different system type (32-bit vs 64-bit).

Does Python 3.8 support NumPy?

NumPy 1.22. 0 is a big release featuring the work of 153 contributors spread over 609 pull requests. The Python versions supported by this release are 3.8-3.10.


1 Answers

The "cp26" in that filename means "CPython 2.6". If you're using Python 3.4 you'll need a file that has "cp34" in the filename.

like image 119
BrenBarn Avatar answered Sep 22 '22 13:09

BrenBarn