2012-04-12 142 views
6

我试图在Vista中运行IPython笔记本。我相信我用easy_install安装了所有必需的依赖项(列出了here)。 IPython运行良好。但是当我尝试运行IPython笔记本时,一切都很顺利,但是一旦我尝试做任何事情,内核就会死亡。我得到以下混淆错误:IPython笔记本中的Pyzmq错误

Traceback (most recent call last): 
    File "<string>", line 1, in <module> 
    File "C:\Python27\lib\site-packages\ipython-0.11-py2.7.egg\IPython\zmq\__init__.py", line 25, in <module> 
    minimum_pyzmq_version, pyzmq_version)) 
ImportError: IPython.zmq requires pyzmq >= 2.1.4, but you have 2.1.11 

2.1.11> = 2.1.4所以我不确定问题是什么。 2.1.11是pyzmq的最新版本(here是项目页面)。

[更新:谢谢@ThomasK。我已经运行IPython 0.12,但是我在IPython和pyzmg上运行了easy_install --upgrade并修复了它。]

+0

你的回溯说'ipython-0.11-py2.7.egg',所以肯定有一个IPython 0.11安装涉及某种方式。 – 2012-04-12 21:26:05

回答

1

该错误已在IPython 0.12中修复,因此您需要升级。无论如何,你需要0.12来运行笔记本。

如果您在升级时遇到问题,请尝试删除安装IPython 0.11的文件夹,然后使用easy_install重新安装。