[yt-users] starting yt notebook

j s oishi jsoishi at gmail.com
Wed Oct 9 12:31:06 PDT 2013


do

$ pip install jinja2

Note to Matt/Nathan and the yt install team: I *just* helped someone else
who installed yt from the install script and *also* didn't get jinja2,
which precludes ipy operation.

j


On Wed, Oct 9, 2013 at 3:28 PM, Stephanie Tonnesen <stonnes at gmail.com>wrote:

> Hi,
>
> OK, so I deleted the IPython folder, then uninstalled, then installed, and
> now these are my error messages:
> >yt notebook
> /u/stonnes/Installs/yt-x86_64/lib/python2.7/site-packages/IPython/frontend.py:30:
> UserWarning: The top-level `frontend` package has been deprecated. All its
> subpackages have been moved to the top `IPython` level.
>   warn("The top-level `frontend` package has been deprecated. "
>
> 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/html/notebookapp.py",
> line 38, in <module>
>     from jinja2 import Environment, FileSystemLoader
> ImportError: No module named jinja2
>
> >python2.7 notebook.py
> /u/stonnes/Installs/yt-x86_64/lib/python2.7/site-packages/IPython/frontend.py:30:
> UserWarning: The top-level `frontend` package has been deprecated. All its
> subpackages have been moved to the top `IPython` level.
>   warn("The top-level `frontend` package has been deprecated. "
>
> 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/html/notebookapp.py",
> line 38, in <module>
>     from jinja2 import Environment, FileSystemLoader
> ImportError: No module named jinja2
>
> -Stephanie
>
>
> On Wed, Oct 9, 2013 at 3:20 PM, Nathan Goldbaum <nathan12343 at gmail.com>wrote:
>
>> Hi Stephanie,
>>
>> It shouldn't matter.  Can you try completely removing the IPython folder
>> in /u/stonnes/Installs/yt-x86_64/lib/python2.7/site-packages/, then `pip
>> uninstall ipython`, then `pip install ipython` one more time.
>>
>> IPython no longer imports from IPython.frontend in recent releases of
>> IPython, so you still have some old files sticking around.
>>
>> -Nathan
>>
>>
>> On Wed, Oct 9, 2013 at 12:16 PM, Stephanie Tonnesen <stonnes at gmail.com>wrote:
>>
>>> I was able to uninstall it twice, then install ipython, but
>>> unfortunately got the same error message.  Does it matter what folder I am
>>> in when I type in pip install ipython?  right now I have "activated" yt,
>>> but am in a random folder...
>>>
>>> Stephanie
>>>
>>>
>>>
>>> On Wed, Oct 9, 2013 at 3:08 PM, Matthew Turk <matthewturk at gmail.com>wrote:
>>>
>>>> Hi Stephanie,
>>>>
>>>> I've never seen this one before.  Looks like an overlapping IPython
>>>> install.  Try this one out:
>>>>
>>>> pip uninstall ipython
>>>>
>>>> and answer yes, then repeat this process (pip uninstall ipython) until
>>>> it doesn't do anything anymore.  (Maybe two or three times?)  Then do:
>>>>
>>>> pip install ipython
>>>>
>>>> Hopefully that'll fix it!
>>>>
>>>> -Matt
>>>>
>>>> On Wed, Oct 9, 2013 at 3:02 PM, Stephanie Tonnesen <stonnes at gmail.com>
>>>> wrote:
>>>> > 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
>>>> >
>>>> > _______________________________________________
>>>> > yt-users mailing list
>>>> > yt-users at lists.spacepope.org
>>>> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>> >
>>>> _______________________________________________
>>>> yt-users mailing list
>>>> yt-users at lists.spacepope.org
>>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>>
>>>
>>>
>>> _______________________________________________
>>> yt-users mailing list
>>> yt-users at lists.spacepope.org
>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>
>>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20131009/6a84e67e/attachment.htm>


More information about the yt-users mailing list