在空闲状态下设置numpy/scipy [英] setting up numpy/scipy in idle

查看:112
本文介绍了在空闲状态下设置numpy/scipy的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在正在创建的python程序中使用numpy,但是我不知道如何在IDLE中使用它. numpy的下载页面重定向到Scipy的下载页面,这很好,实际上我也想下载Scipy的其余部分(尤其是matPlotLib),但是对我来说不如numpy重要,但是scipy下载页面告诉您从更大的软件包中获取它,我都无法弄清楚如何在IDLE中使用它.请注意,我使用的是python 2.x系列,并且在同一程序中也使用了其他已安装的软件包,例如pygame和wxpython.非常感谢.

I would like to use numpy in a python program I am creating, but I can not figure out how to use it inside of IDLE. The download page for numpy redirects to the one for Scipy, which is fine, infact I would like to download the rest of Scipy as well (especially matPlotLib), but it isn't as important to me as numpy, but the scipy download page tells you to get it from even larger packages, none of which I can figure out how to use in IDLE. Note that I use the python 2.x series, and I also use other installed packages in the same program such as pygame, and wxpython. Thank you so much.

推荐答案

作为链接的文档说:

您可以从单个程序包中组装Scipy堆栈.有关所需内容的详细信息,请参见规范.

...

Christoph Gohlke为许多Python软件包提供了预制的Windows安装程序.所有的核心Scipy堆栈.

Christoph Gohlke provides pre-built Windows installers for many Python packages, including all of the core Scipy stack.

因此,列出所需的主要软件包,检查规格以查看使用这些软件包所需安装的其他依赖项,转到预安装程序页面,下载并运行安装程序

So, make a list of the main packages you want, check the specification to see the other dependencies you'll need to install to use those packages, go to the pre-built installer page, download them, and run the installers.

显然,您需要下载与您的Python相对应的安装程序.您没有说要使用64位还是32位Python,您需要知道这一点.您需要知道的唯一另一件事是您使用的是哪个Python版本,而您已经说过是2.7.

Obviously you need to download the installers corresponding to your Python. You didn't say whether you're using 64-bit or 32-bit Python, and you need to know that. The only other thing you need to know is which Python version you're using, and you already said that was 2.7.

这篇关于在空闲状态下设置numpy/scipy的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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