python - NumPy for Python 2.7 在 64 位 Windows 上

标签 python windows numpy 64-bit

<分区>

我一直在尝试在 Windows 64 位上获取适用于 Python 2.7 的 NumPy,但是页面 http://www.lfd.uci.edu/~gohlke/pythonlibs/每个人都提到的在我的任何设备上都无法打开。

还有别的地方我可以找到它吗?

最佳答案

我建议 WinPython ,适用于 Windows 的 Python 2.7 发行版,具有 32 位和 64 位版本。

This blog post WinPython 创建者解释了为什么通常很难找到 64 位 Windows NumPy:

According to experienced developers, there is no decent open-source (free) Fortran compiler for the Windows 64bit platform. As a consequence, it's impossible to build NumPy or SciPy on this platform using only free and open-source tools. That's why there is no official Windows 64bit binaries for these two libraries. The only ready-to-use installers available out there were prepared by Christoph Gohlke (using Intel Fortran compiler, a.k.a. 'ifort') and these are clearly unofficial binaries. Furthermore, Christoph has built two different installers for NumPy: one unoptimized and one optimized with the Intel Math Kernel Library (MKL), hence providing better performance. And Gohlke's SciPy 64bit binary package (the only one available freely online) require NumPy MKL. The problem is that, according to Christoph Gohlke, the MKL license does not allow me (or anyone else) to redistribute these binaries, unless I have purchased such a license. It is still unclear to me if the end user would also require this license too. Hopefully no. Let's assume that. Besides, after reading carefully the Intel MKL License terms, I'm quite sure that I can redistribute the MKL-based NumPy built because it's just runtime redistribution. So I think I will purchase an Intel Fortran Compiler license (including MKL) to be able to rebuild NumPy and SciPy in the near future but in the meantime I will just redistribute the packages built by Christoph Gohlke.

关于python - NumPy for Python 2.7 在 64 位 Windows 上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14762248/

相关文章:

Python-Twitter 脚本在家里工作,而不是在大学工作。截止日期真的很快

python - Flask/Jinja2动态WTF表单模板

mysql - 将 MySql 从 Windows 传输到 ubuntu

windows - 如何在 Git 中重新下载整个存储库

python - 如何使用 numpy 在线性时间内通过唯一值获取累积计数?

python - 按值从多维 numpy 数组中删除元素

python - 如何在 Google App Engine python 项目中安装 InfluxDB?

python - 为什么dict类型的变量内容不能pickle?

windows - 从外部应用程序获取正在运行的bat文件的名称

python - 用于近似积分的自定义函数的未知错误