[firedrake] problems with notebook
Francis Poulin
fpoulin at uwaterloo.ca
Tue Feb 28 19:19:00 GMT 2017
Hello,
I assume, since the other notebooks work, that you have installed jupyter inside the virtualenv, and launched the notebook server inside the virtualenv.
Yes, that is correct.
However, it is possible that the "kernel" that the notebook is launching is not right.
Can you post the output of:
$ jupyter kernelspec list
Copied below. Seems to be pointing at something else, not in my firedrake path.
Available kernels:
python2 /usr/local/lib/python2.7/dist-packages/ipykernel/resources
If the python2 kernel does not point to the python in the virtualenv, please run (inside the activated virtualenv):
$ 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?
Cheers, Francis
More information about the firedrake
mailing list