在 Windows 上从轮格式安装 numpy(在此平台上不支持轮.) [英] installing numpy from wheel format on windows ( not a supported wheel on this platform.)
问题描述
我知道之前有人问过这个问题,但建议的解决方案都没有解决我的问题.
首先,就像其他人一样,我去了http://www.lfd.uci.edu/~gohlke/pythonlibs/#jpype 并下载了 numpy-1.10.4+mkl-cp27-cp27m-win_amd64.whl
因为我的 windows 10 是 64 位,而我的python是2.7.
然后我将文件的路径设置为cd Desktop
,然后输入pip install numpy-1.10.4+mkl-cp27-cp27m-win_amd64.whl
.
作为回报,我得到 numpy-1.10.4+mkl-cp27-cp27m-win_amd64.whl 在此平台上不受支持.
然后,我想确保我运行的是正确的 whl 文件.因此,我在终端窗口中输入 python
以检查版本和诸如此类的内容,并得到以下消息 Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 位 (Intel)] 在 win32 上
当我使用 Windows 10 64 位操作系统,基于 x64 的处理器时,它说 win32
让我很困惑
无论哪种方式,我都尝试过`numpy-1.10.4+mkl-cp27-cp27m-win32.whl',但无济于事.
升级你的 pip
<块引用><块引用>python -m pip install --upgrade pip
并尝试使用 pip 重新安装
<块引用><块引用>pip install numpy-1.10.4+mkl-cp27-cp27m-win_amd64.whl
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.
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
这篇关于在 Windows 上从轮格式安装 numpy(在此平台上不支持轮.)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!