如何/在哪里下载适用于 Win32 的 Python 2.7 的 Pylab?

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

How / Where to download Pylab for Python 2.7 on Win32?

pythonpython-2.7matplotlib

提问by Jonesome Reinstate Monica

I have googled all over, and don't see where to get pylab.

我已经用谷歌搜索过了,但没有看到从哪里获得 pylab。

What am I missing?

我错过了什么?

Thanks!

谢谢!

采纳答案by Michael0x2a

I believe there are two "versions" of pylab floating around/being referred to.

我相信有两个“版本”的 pylab 浮动/被引用。

The first is a part of matplotlib-- you just install matplotliband do either import pylabor import matplotlib.pyplot as pyplot. (More info on pylab vs pyplot).

第一个是matplotlib- 您只需安装 matplotlib并执行import pylabimport matplotlib.pyplot as pyplot。(有关pylab 与 pyplot 的更多信息)。

The second is described here, and as far as I know, doesn't exist yet. The linked version is simply describing a hypothetical vision of what the existing version of pylab could be. It's also unfortunately the first result when you try googling "pylab", which I suspect is what caused your confusion.

第二个在这里描述,据我所知,还不存在。链接版本只是描述了 pylab 的现有版本可能是什么的假设愿景。不幸的是,当您尝试使用谷歌搜索“pylab”时,这也是第一个结果,我怀疑这是导致您困惑的原因。

Source: http://matplotlib.1069221.n5.nabble.com/pylab-td23420.html#a23423

来源:http: //matplotlib.1069221.n5.nabble.com/pylab-td23420.html#a23423

回答by bob.sacamento

You can get it as part of EPD's Canopy distribution.

您可以将其作为EPD 的 Canopy 发行版的一部分获取。