[yt-users] starting yt notebook

Stephanie Tonnesen stonnes at gmail.com
Wed Oct 9 12:02:50 PDT 2013


Hi users,

A while ago I was using a yt notebook, and was running it with the command
python2.7 notebook.py (I think).  Now, I can't get a notebook to load!  Can
someone tell/remind me what the commands are?  More specifically I am
trying to get a tunnel for my notebook.  When I type
>python2.7 notebook.py
Traceback (most recent call last):
  File "notebook.py", line 2, in <module>
    from IPython.frontend.html.notebook.notebookapp import NotebookApp
  File
"/u/stonnes/Installs/yt-x86_64/lib/python2.7/site-packages/IPython/frontend/html/notebook/notebookapp.py",
line 59, in <module>
    from IPython.frontend.consoleapp import IPythonConsoleApp
  File
"/u/stonnes/Installs/yt-x86_64/lib/python2.7/site-packages/IPython/frontend/consoleapp.py",
line 36, in <module>
    from IPython.lib.kernel import tunnel_to_kernel, find_connection_file,
swallow_argv
ImportError: cannot import name swallow_argv

and when I type
> yt notebook
Traceback (most recent call last):
  File "/u/stonnes/Installs/yt-x86_64/bin/yt", line 9, in <module>
    load_entry_point('yt==2.6dev', 'console_scripts', 'yt')()
  File
"/u/stonnes/Installs/yt-x86_64/src/yt-hg/yt/utilities/command_line.py",
line 1695, in run_main
    args.func(args)
  File
"/u/stonnes/Installs/yt-x86_64/src/yt-hg/yt/utilities/command_line.py",
line 84, in run
    self(args)
  File
"/u/stonnes/Installs/yt-x86_64/src/yt-hg/yt/utilities/command_line.py",
line 1454, in __call__
    from IPython.frontend.html.notebook.notebookapp import NotebookApp
  File
"/u/stonnes/Installs/yt-x86_64/lib/python2.7/site-packages/IPython/frontend/html/notebook/notebookapp.py",
line 59, in <module>
    from IPython.frontend.consoleapp import IPythonConsoleApp
  File
"/u/stonnes/Installs/yt-x86_64/lib/python2.7/site-packages/IPython/frontend/consoleapp.py",
line 36, in <module>
    from IPython.lib.kernel import tunnel_to_kernel, find_connection_file,
swallow_argv
ImportError: cannot import name swallow_argv

Thanks!

Stephanie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20131009/1dc6a188/attachment.htm>


More information about the yt-users mailing list