<分区>
我一直在尝试在 Windows 64 位上获取适用于 Python 2.7 的 NumPy,但是页面 http://www.lfd.uci.edu/~gohlke/pythonlibs/每个人都提到的在我的任何设备上都无法打开。
还有别的地方我可以找到它吗?
<分区>
我一直在尝试在 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/