Dear all,
I tried to open an ipython notebook
(yt-x86_64)[yd742@ria run5]$ *yt notebook*
But got the following error. Any ideas?
/home/yd742/software/withpysci/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 "/home/yd742/software/withpysci/yt-x86_64/bin/yt", line 9, in <module>
load_entry_point('yt==2.6.3', 'console_scripts', 'yt')()
File "/home/yd742/software/withpysci/yt-x86_64/src/yt-hg/yt/utilities/command_line.py", line 1702, in run_main
args.func(args)
File "/home/yd742/software/withpysci/yt-x86_64/src/yt-hg/yt/utilities/command_line.py", line 84, in run
self(args)
File "/home/yd742/software/withpysci/yt-x86_64/src/yt-hg/yt/utilities/command_line.py", line 1458, in __call__
from IPython.frontend.html.notebook.notebookapp import NotebookApp
File "/home/yd742/software/withpysci/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
===================================
I'm using yt
Version = 2.6.1
Changeset = c994959ed3be
=======================
I would very much appreciate it if anyone could help me on this.
Regards,
Dai
You need to install the dependencies for the notebook. Activate the yt environment, then do the following:
$ pip install jinja2 tornado pyzmq
On Mon, Mar 14, 2016 at 2:50 PM, Yuxiao Dai yuxiao.dai@nyu.edu wrote:
Dear all,
I tried to open an ipython notebook
(yt-x86_64)[yd742@ria run5]$ *yt notebook*
But got the following error. Any ideas?
/home/yd742/software/withpysci/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 "/home/yd742/software/withpysci/yt-x86_64/bin/yt", line 9, in
<module>
load_entry_point('yt==2.6.3', 'console_scripts', 'yt')()
File "/home/yd742/software/withpysci/yt-x86_64/src/yt-hg/yt/utilities/command_line.py", line 1702, in run_main
args.func(args)
File "/home/yd742/software/withpysci/yt-x86_64/src/yt-hg/yt/utilities/command_line.py", line 84, in run
self(args)
File "/home/yd742/software/withpysci/yt-x86_64/src/yt-hg/yt/utilities/command_line.py", line 1458, in __call__
from IPython.frontend.html.notebook.notebookapp import NotebookApp
File "/home/yd742/software/withpysci/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
===================================
I'm using yt
Version = 2.6.1
Changeset = c994959ed3be
=======================
I would very much appreciate it if anyone could help me on this.
Regards,
Dai
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Hi Dai,
It's probably safer to use "ipython notebook" or "jupyter notebook" nowadays, but regardless, you'll have to install jinja2. "pip install jinja2" should do it.
On Mon, Mar 14, 2016 at 2:50 PM, Yuxiao Dai yuxiao.dai@nyu.edu wrote:
Dear all,
I tried to open an ipython notebook
(yt-x86_64)[yd742@ria run5]$ yt notebook
But got the following error. Any ideas?
/home/yd742/software/withpysci/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 "/home/yd742/software/withpysci/yt-x86_64/bin/yt", line 9, in
<module>
load_entry_point('yt==2.6.3', 'console_scripts', 'yt')()
File "/home/yd742/software/withpysci/yt-x86_64/src/yt-hg/yt/utilities/command_line.py", line 1702, in run_main
args.func(args)
File "/home/yd742/software/withpysci/yt-x86_64/src/yt-hg/yt/utilities/command_line.py", line 84, in run
self(args)
File "/home/yd742/software/withpysci/yt-x86_64/src/yt-hg/yt/utilities/command_line.py", line 1458, in __call__
from IPython.frontend.html.notebook.notebookapp import NotebookApp
File "/home/yd742/software/withpysci/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
===================================
I'm using yt
Version = 2.6.1
Changeset = c994959ed3be
=======================
I would very much appreciate it if anyone could help me on this.
Regards,
Dai
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org