适用于 Windows 的 NumPy python 2.7

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4554277/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-18 16:17:29  来源:igfitidea点击:

NumPy for windows python 2.7

pythonnumpy

提问by Woland

I can't find NumPy for windows python 2.7 although I found an OS X version of it.

尽管我找到了它的 OS X 版本,但我找不到适用于 Windows python 2.7 的 NumPy。

采纳答案by ismail

A Google search would tell you that its here.

谷歌搜索会告诉你它的here.

回答by crrn

numpy-1.5.1-win32-superpack-python2.7.exe works for Python 2.7. I just installed and tested it with:

numpy-1.5.1-win32-superpack-python2.7.exe 适用于 Python 2.7。我刚刚安装并测试了它:

>>> from numpy import *
>>> a = arange(10).reshape(2,5)
>>> a

Output:

输出:

>>> array([[0, 1, 2, 3, 4],
        [5, 6, 7, 8, 9]])