| 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
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.