Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Adding Sage to Jupyter Notebook on Manjaro

Hello. I have a working install of Jupyter Notebook, and I just got Sagemath 9.8-2 from the Arch community repo. Following the docs, I should be able to add the Sage kernel to the existing Jupyter install by running the command sudo jupyter kernelspec install $SAGE_LOCAL/share/jupyter/kernels/sagemath.

However, this only returns the following error: No such file or directory: '/share/jupyter/kernels/sagemath'. The variable $SAGE_LOCAL doesn't seem to be defined, and I'm having trouble finding the correct path manually. I tried with which sage which tells me the executable is in /usr/bin, but it didn't help me much with the issue.