Installing numpy from wheel format: “…is not a supported wheel on this platform”

▼魔方 西西 提交于 2019-12-23 09:55:45

问题


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.


回答1:


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.




回答2:


Try using the installer from here.



来源:https://stackoverflow.com/questions/28460783/installing-numpy-from-wheel-format-is-not-a-supported-wheel-on-this-platfor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!