Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pyzmq Error in IPython Notebook

I'm trying to run IPython notebook in Vista. I believe I installed all the necessary dependencies (listed here) with easy_install. IPython runs fine. But when I try and run the IPython notebook everything starts up fine but then the kernel dies once I try to do anything. I get the following confusing error:

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 so I'm not sure what the problem is. 2.1.11 is the latest version of pyzmq (here is the project page).

[Update: Thanks @ThomasK. I was already running IPython 0.12 but I ran easy_install --upgrade on both IPython and pyzmg and that fixed it.]

like image 742
ACV Avatar asked Apr 12 '12 14:04

ACV


1 Answers

That bug has been fixed in IPython 0.12, so you'll need to upgrade. You need 0.12 to run the notebook, anyway.

If you're having trouble upgrading, try deleting the folder where IPython 0.11 is installed, and then installing again with easy_install.

like image 88
Thomas K Avatar answered Sep 17 '22 07:09

Thomas K