Ask Your Question

Revision history [back]

Some distributions package the SageMath Jupyter kernel separately.

For example, Debian has sagemath and sagemath-jupyter.

So check whether you have installed all the necessary packages using your package manager.

Also, if using Sage installed from a package manager, one would probably not use any of the following to start the Jupyter Notebook or JupyterLab:

$ sage -n jupyter
$ sage -n jupyterlab

but rather the corresponding:

$ jupyter notebook
$ jupyter lab