在 Windows 7 64 上安装 IPython 0.12
我在此处阅读了安装说明。安装说明说,对于 Windows 7 64,我可能应该遵循以下方法:
从源代码安装,但使用 setuptools (python setupegg.py 安装)。
因此,我首先使用官方二进制文件安装了 Python 2.7.2:python-2.7.2.amd64.msi
,然后下载了 ipython-0.12-py2.7.egg
了解有 IPython 的源码。
但是,解压ipython-0.12-py2.7.egg
后,我找不到任何名为setupegg.py
的文件。该文件是我下载的 .egg
文件的一部分还是我应该从其他地方获取它?
另外,为了使用新的 IPython 笔记本,我还需要安装其他东西吗?
I read the installation notes here. The installation notes say that for Windows 7 64 I should probably follow this method:
Install from source, but using setuptools (python setupegg.py
install).
So I first installed Python 2.7.2 using the official binaries: python-2.7.2.amd64.msi
and later downloaded ipython-0.12-py2.7.egg
which I understand has the source for IPython.
However, I could not find any file called setupegg.py
after decompressing ipython-0.12-py2.7.egg
. Is this file part of the .egg
file I downloaded or should I get it from somewhere else?
Also, is there anything else I need to install in order to use the new IPython notebook?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您首先尝试方法 1(
easy_install ipython
)或 2(exe 安装程序)。请注意,无论如何,您都应该首先安装分发。 (如果您确实想使用方法 3,则需要获取源 zip,而不是 Egg。)要运行笔记本,您还需要 pyzmq 和tornado。两者都在 PyPI 上,或者 Christoph Gohlke 拥有这些软件包和许多其他软件包的 Windows 安装程序。
作为实现这一切的快捷方式,您可以使用 Python 发行版,例如 EPD Free。
I suggest you try methods 1 (
easy_install ipython
) or 2 (the exe installer) first. Note that in any case, you should install distribute first. (If you really want to use method 3, you'll need to get the source zip, not the egg.)To run the notebook, you also need pyzmq and tornado. Both are on PyPI, or Christoph Gohlke has Windows installers of these and many other packages.
As a shortcut to all of this, you can use a Python distribution like EPD Free.