1 | initial version |
Try the following:
$ sage -c 'print(SAGE_LOCAL)'
If this prints out a directory, replace the command in your question by
$ sudo jupyter kernelspec install $(sage -c 'print(SAGE_LOCAL)')/share/jupyter/kernels/sagemath
2 | No.2 Revision |
Try the following:
$ sage -c 'print(SAGE_LOCAL)'
If this prints out a directory, replace the command in your question by
$ KERNEL=$(sage -c 'print(SAGE_LOCAL)')/share/jupyter/kernels/sagemath
$ sudo jupyter kernelspec install $(sage -c 'print(SAGE_LOCAL)')/share/jupyter/kernels/sagemath
$KERNEL