[yt-users] starting yt notebook

Nathan Goldbaum nathan12343 at gmail.com
Wed Oct 9 12:55:07 PDT 2013


That will work if the error is about a missing package.

Jeff: it just needs to be added to the install script.  Can you do it?

Nathan

On Wednesday, October 9, 2013, Stephanie Tonnesen wrote:

> Genius!  Thanks for all the help and so fast!  A small aside:  is it A-OK
> to just pip install "whatever_was_missing_in_yt_error_message" or is that
> opening me up to lots of possible problems?
>
> Stephanie
>
>
> On Wed, Oct 9, 2013 at 3:31 PM, j s oishi <jsoishi at gmail.com> wrote:
>
> 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
>
> <
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20131009/2de016ab/attachment.html>


More information about the yt-users mailing list