installing numpy from wheel format on windows ( not a supported wheel on this platform.)

僤鯓⒐⒋嵵緔 提交于 2019-12-10 15:49:33

问题


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

I know this question has been asked before but none of the solutions suggested resolved my issue.

First, just like everybody else, i went to http://www.lfd.uci.edu/~gohlke/pythonlibs/#jpype and downloaded numpy-1.10.4+mkl-cp27-cp27m-win_amd64.whl since my windows 10 is 64bit and my python is 2.7.

Then i set the path to where the file is cd Desktop and then typed pip install numpy-1.10.4+mkl-cp27-cp27m-win_amd64.whl.

In return i get numpy-1.10.4+mkl-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.

Then, i wanted to make sure that i was running the correct whl file. So, i typed python in the terminal window to check the version and whatnot and got the following message Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)] on win32

It puzzles me that it says win32 when I have windows 10 64-bit operating system, x64-based processor

Either way, i tried `numpy-1.10.4+mkl-cp27-cp27m-win32.whl', to no avail.


回答1:


Upgrade your pip

python -m pip install --upgrade pip

and try installing again using pip

pip install numpy-1.10.4+mkl-cp27-cp27m-win_amd64.whl




回答2:


I was also facing the same issue with Windows 10 - 64 bit. I downloaded the "numpy-1.10.4+mkl-cp27-cp27m-win_amd64.whl" then rename it to "numpy-1.10.4+mkl-cp27-none-win32.whl" and installed using pip. It works for me.




回答3:


me too . same problem. I try change to name a whl file.

numpy-1.10.4+mkl-cp27-cp27m-win_amd64.whl ->numpy-1.10.4+mkl-cp27-none-win_amd64.whl




回答4:


I have had this problem multiple times on my windows 10 64 bit platform with python 2.7 - I attempt to install the win_amd64.whl and get this same error:

numpy-1.12.0b1+mkl-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.

rasterio-1.0a3-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.

If i rename to win32.whl, the install works fine.




回答5:


You can install python 32-bit with no matter on 32/64-bit system. Please try to download and install with pip install numpy-1.10.4+mkl-cp27-cp27m-win32.whl or numpy-1.10.4+vanilla-cp27-none-win32.whl The later one maybe work.



来源:https://stackoverflow.com/questions/35839198/installing-numpy-from-wheel-format-on-windows-not-a-supported-wheel-on-this-pl

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