Thanks for the suggestion. I thought that firedrake-update would update ipython, but I guess not. I will try and remember do that from time to time. As you can see below, I have now joined the modern times and have version 5.3.0, but it still seems to have problem with updating the kernel. I did try it again with jupyter and it still failed. Actually, when I try ipython notebook it fails as well. Should I remove ipython and try reinstalling it? Francis firedrake) fpoulin@fpoulin-Gazelle:~/Research/2015-Ben_Storer/Firedrake$ ipython --version 5.3.0 (firedrake) fpoulin@fpoulin-Gazelle:~/Research/2015-Ben_Storer/Firedrake$ ipython kernel install --sys-prefix Traceback (most recent call last): File "/home/fpoulin/software/firedrake/bin/ipython", line 11, in <module> sys.exit(start_ipython()) File "/home/fpoulin/software/firedrake/local/lib/python2.7/site-packages/IPython/__init__.py", line 119, in start_ipython return launch_new_instance(argv=argv, **kwargs) File "/home/fpoulin/software/firedrake/local/lib/python2.7/site-packages/traitlets/config/application.py", line 657, in launch_instance app.initialize(argv) File "<decorator-gen-109>", line 2, in initialize File "/home/fpoulin/software/firedrake/local/lib/python2.7/site-packages/traitlets/config/application.py", line 87, in catch_config_error return method(app, *args, **kwargs) File "/home/fpoulin/software/firedrake/local/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 300, in initialize super(TerminalIPythonApp, self).initialize(argv) File "<decorator-gen-7>", line 2, in initialize File "/home/fpoulin/software/firedrake/local/lib/python2.7/site-packages/traitlets/config/application.py", line 87, in catch_config_error return method(app, *args, **kwargs) File "/home/fpoulin/software/firedrake/local/lib/python2.7/site-packages/IPython/core/application.py", line 446, in initialize self.parse_command_line(argv) File "/home/fpoulin/software/firedrake/local/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 295, in parse_command_line return super(TerminalIPythonApp, self).parse_command_line(argv) File "<decorator-gen-4>", line 2, in parse_command_line File "/home/fpoulin/software/firedrake/local/lib/python2.7/site-packages/traitlets/config/application.py", line 87, in catch_config_error return method(app, *args, **kwargs) File "/home/fpoulin/software/firedrake/local/lib/python2.7/site-packages/traitlets/config/application.py", line 514, in parse_command_line return self.initialize_subcommand(subc, subargv) File "/home/fpoulin/software/firedrake/local/lib/python2.7/site-packages/IPython/core/application.py", line 236, in initialize_subcommand return super(BaseIPythonApplication, self).initialize_subcommand(subc, argv) File "<decorator-gen-3>", line 2, in initialize_subcommand File "/home/fpoulin/software/firedrake/local/lib/python2.7/site-packages/traitlets/config/application.py", line 87, in catch_config_error return method(app, *args, **kwargs) File "/home/fpoulin/software/firedrake/local/lib/python2.7/site-packages/traitlets/config/application.py", line 445, in initialize_subcommand subapp = import_item(subapp) File "/home/fpoulin/software/firedrake/local/lib/python2.7/site-packages/ipython_genutils/importstring.py", line 31, in import_item module = __import__(package, fromlist=[obj]) ImportError: No module named ipykernel.kernelapp ------------------ Francis Poulin Associate Professor Department of Applied Mathematics University of Waterloo email: fpoulin@uwaterloo.ca Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637 ________________________________________ From: firedrake-bounces@imperial.ac.uk [firedrake-bounces@imperial.ac.uk] on behalf of Lawrence Mitchell [lawrence.mitchell@imperial.ac.uk] Sent: Wednesday, March 01, 2017 10:24 AM To: firedrake@imperial.ac.uk Subject: Re: [firedrake] problems with notebook
On 28 Feb 2017, at 15:16, Francis Poulin <fpoulin@uwaterloo.ca> wrote:
$ ipython kernel install -h usage: ipython-kernel-install [-h] [--user] [--name NAME] [--display-name DISPLAY_NAME] [--profile PROFILE] [--prefix PREFIX] [--sys-prefix]
Then I don't seem to be able to do the kernel install, see below.
Can you try upgrading the python installation: $ pip install -U ipython and then try again with: $ ipython kernel install --sys-prefix Thanks, Lawrence _______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake