[firedrake] problems with notebook
Lawrence Mitchell
lawrence.mitchell at imperial.ac.uk
Tue Feb 28 19:30:03 GMT 2017
> On 28 Feb 2017, at 14:19, Francis Poulin <fpoulin at uwaterloo.ca> wrote:
>
> $ ipython kernel install --sys-prefix
>
> Could there be a typo above? When I try just that i get a problem
>
> fpoulin at fpoulin-Gazelle:~/Downloads$ ipython kernel install --sys-prefix
> usage: ipython-kernel-install [-h] [--user] [--name NAME]
> [--display-name DISPLAY_NAME] [--prefix PREFIX]
> ipython-kernel-install: error: unrecognized arguments: --sys-prefix
>
> I did a bit of searching around but could not find what is wrong. Do you know what else I could try
This looks like the Firedrake virtualenv was not activated when you tried this. Could you try activating it first and then doing so (the ipython you want is the one in the virtualenv. For example, for me, I have:
$ ipython --version
5.2.2
And
$ ipython kernel install -h
usage: ipython-kernel-install [-h] [--user] [--name NAME]
[--display-name DISPLAY_NAME]
[--profile PROFILE] [--prefix PREFIX]
[--sys-prefix]
Thanks,
Lawrence
More information about the firedrake
mailing list