[firedrake] problems with notebook
Lawrence Mitchell
lawrence.mitchell at imperial.ac.uk
Tue Feb 28 13:31:22 GMT 2017
Hi Francis,
> On 27 Feb 2017, at 22:44, Francis Poulin <fpoulin at uwaterloo.ca> wrote:
>
> I tried it again and sent you the most recent log, err and c files. The error file shows that it can't fine a header file.
>
> /tmp/pyop2-cache-uid1000/7137338dc043a2dcfd35bcc4ecc64e90_p3383.c:103:40: fatal error: spatialindex/capi/sidx_api.h: No such file or directory
> compilation terminated.
I assume, since the other notebooks work, that you have installed jupyter inside the virtualenv, and launched the notebook server inside the virtualenv.
However, it is possible that the "kernel" that the notebook is launching is not right.
Can you post the output of:
$ jupyter kernelspec list
If the python2 kernel does not point to the python in the virtualenv, please run (inside the activated virtualenv):
$ ipython kernel install --sys-prefix
and then check the kernel spec list again. This should now point to the python2 inside the virtualenv. If you relaunch the notebook server and try again, hopefully that should fix the problem.
Thanks,
Lawrence
More information about the firedrake
mailing list