[yt-users] yt and ipython notebook

Mark Krumholz mkrumhol at ucsc.edu
Wed Sep 18 15:37:39 PDT 2013


On Sep 18, 2013, at 3:30 PM, Sam Skillman wrote:

> Hi Mark,
> 
> Perhaps first try just wiping all references (to all versions) of IPython in:
> /u/mkrumhol/yt-x86_64/lib/python2.7/site-packages/
> 
> Then do a pip install IPython.  Just a guess, but maybe there were remnants not removed by pip uninstall...
> 
> Sam

Nope, still no luck. I manually rm -rf'ed iPython and ipython-1.1.0-py2.7.egg-info, then did pip install ipython. This got me further, but now when I attempt to start up the ipython notebook I get yet another, new error:

(yt-x86_64)pfe20:site-packages mkrumhol$ ipython notebook --no-browser --port=51707
2013-09-18 15:35:57.311 [NotebookApp] Using existing profile dir: u'/home3/mkrumhol/.ipython/profile_default'
2013-09-18 15:35:57.320 [NotebookApp] Using MathJax from CDN: http://cdn.mathjax.org/mathjax/latest/MathJax.js
2013-09-18 15:35:57.344 [NotebookApp] The port 51707 is already in use, trying another random port.
2013-09-18 15:35:57.344 [NotebookApp] The port 51708 is already in use, trying another random port.
2013-09-18 15:35:57.345 [NotebookApp] Serving notebooks from local directory: /home3/mkrumhol/yt-x86_64/lib/python2.7/site-packages
2013-09-18 15:35:57.345 [NotebookApp] The IPython Notebook is running at: http://127.0.0.1:51709/
2013-09-18 15:35:57.345 [NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[NotebookApp] Kernel started: 95e2a70f-1a88-4aab-91de-e16053f3be9f
[NotebookApp] Connecting to: tcp://127.0.0.1:57296
[NotebookApp] Connecting to: tcp://127.0.0.1:39504
[NotebookApp] Connecting to: tcp://127.0.0.1:56743
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named zmq.ipkernel

Looks like fresh install it is.

--
Mark Krumholz







More information about the yt-users mailing list