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",
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",
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 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 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
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
Hi users,
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",
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 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
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",
and when I type 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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
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
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
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
On Wed, Oct 9, 2013 at 3:02 PM, Stephanie Tonnesen
wrote: 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
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",
1695, in run_main args.func(args) File "/u/stonnes/Installs/yt-x86_64/src/yt-hg/yt/utilities/command_line.py",
84, in run self(args) File "/u/stonnes/Installs/yt-x86_64/src/yt-hg/yt/utilities/command_line.py",
"/u/stonnes/Installs/yt-x86_64/lib/python2.7/site-packages/IPython/frontend/consoleapp.py", line line 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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
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
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
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
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
On Wed, Oct 9, 2013 at 3:02 PM, Stephanie Tonnesen
wrote: 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
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",
1695, in run_main args.func(args) File "/u/stonnes/Installs/yt-x86_64/src/yt-hg/yt/utilities/command_line.py",
84, in run self(args) File "/u/stonnes/Installs/yt-x86_64/src/yt-hg/yt/utilities/command_line.py",
"/u/stonnes/Installs/yt-x86_64/lib/python2.7/site-packages/IPython/frontend/consoleapp.py", line line 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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
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",
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",
Hi,
OK, so I deleted the IPython folder, then uninstalled, then installed, and
now these are my error messages:
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
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
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
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
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
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
On Wed, Oct 9, 2013 at 3:02 PM, Stephanie Tonnesen
wrote: 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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
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
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
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
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
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
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
On Wed, Oct 9, 2013 at 3:02 PM, Stephanie Tonnesen
wrote: 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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
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
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
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
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
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
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
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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
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
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
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
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
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
<
participants (4)
-
j s oishi
-
Matthew Turk
-
Nathan Goldbaum
-
Stephanie Tonnesen