Numpy 与 python 3.0

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2231842/
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-11-04 00:07:47  来源:igfitidea点击:

Numpy with python 3.0

pythonnumpypython-3.x

提问by iceman

NumPy installer can't find python path in the registry.

NumPy 安装程序在注册表中找不到 python 路径。

Cannot install Python version 2.6 required, which was not found in the registry.

无法安装所需的 Python 2.6 版,在注册表中找不到。

Is there a numpy build which can be used with python 3.0?

是否有可以与 python 3.0 一起使用的 numpy 构建?

采纳答案by Corey Goldberg

there is not [yet] a version of numpy that has been ported to Python 3.

[还] 没有已经移植到 Python 3 的 numpy 版本。

the last update I heard from the people on the project was this: http://blog.jarrodmillman.com/2009/01/when-will-numpy-and-scipy-migrate-to.html

我从项目人员那里听到的最后一次更新是:http: //blog.jarrodmillman.com/2009/01/when-will-numpy-and-scipy-migrate-to.html

for now, if you need Numpy, you are stuck with Python 2.x

现在,如果你需要 Numpy,你只能使用 Python 2.x

回答by Craig McQueen

Guido van Rossum (creator of Python) says he is keen to see NumPy work in Python 3.x, because it would enable many dependent libraries to move to 3.x.

Guido van Rossum(Python 的创造者)说他很想看到 NumPy 在 Python 3.x 中工作,因为它可以让许多依赖库迁移到 3.x。

Update 2010-08-05:NumPy version 1.5 supports Python 3.x, and SciPy will soon.NumPy 1.5 beta is available for downloadnow.

2010 年 8 月 5 日更新:NumPy 1.5 版支持 Python 3.x,SciPy 也将很快支持。NumPy 1.5 测试版现已可供下载

Update 2012-05-31:SciPy0.10.0 added support for Python 3.1in November 2011.

2012年 5 月31更新:SciPy 0.10.0在 2011 年 11 月添加了对 Python 3.1 的支持

回答by pv.

The current development verson of Numpy is compatible with Python 3 -- you can get it from Numpy's SVN and build it yourself. It will probably be released later this year (probably in the summer) as Numpy 2.0.

Numpy 的当前开发版本与 Python 3 兼容——您可以从 Numpy 的 SVN 获取它并自己构建它。它可能会在今年晚些时候(可能在夏天)作为 Numpy 2.0 发布。

回答by Ethan White