从车轮格式安装numpy:"...在此平台上不受支持的车轮" [英] Installing numpy from wheel format: "...is not a supported wheel on this platform"

查看:176
本文介绍了从车轮格式安装numpy:"...在此平台上不受支持的车轮"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我意识到与此相关的问题已在中提出无法从wheel格式安装numpy ,但是在那里显示的解决方案对我不起作用.我也已经在该线程上提问(通过回答!),但是我没有得到任何答复,所以去了:

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:

我一直在尝试安装matplotlib,但是我首先需要安装numpy.我下载了文件numpy-1.8.2 + mkl-cp26-none-win_amd64.whl,然后尝试使用pip进行安装.我不断收到的错误消息是:

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".我上面引用的线程建议的解决方案是将"_amd64"替换为"32",从而使文件名变为numpy-1.8.2 + mkl-cp26-none-win32.whl.这也不起作用,我得到与上面完全相同的错误.

"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.

有什么建议吗?

我在Windows 7 64位系统上使用Python 3.4.2 64位系统.

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

推荐答案

该文件名中的"cp26"表示"CPython 2.6".如果您使用的是Python 3.4,则需要一个文件名中带有"cp34"的文件.

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.

这篇关于从车轮格式安装numpy:"...在此平台上不受支持的车轮"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆