New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/issues/46261#issuecomment-1880055219 Comment: > I had to install jupyter, python3-jupyter_notebook and I also [did these commands](https://doc.sagemath.org/html/en/installation/launching.html#setting-up-sagemath-as-a-jupyter-kernel-in-an-existing-jupyter-notebook-or-jupyterlab-installation), then it worked for me. But you shouldn't do that if you use the `sagemath` package in the void repo, which already includes a jupyter kernel spec. Watch out that you don't have an older `sagemath` kernel installed in your home directory as that might override the system one. System kernels are installed in `/usr/share/jupyter/kernels`, and user kernels are installed in `~/.local/share/jupyter/kernels/`. Easiest way to try is to run `jupyter console --kernel=sagemath`. This should print the banner for the correct version of sagemath. Inside sage check the value of `SAGE_LOCAL` which should be `/usr` for system install of sagemath, and something else for a sage compiled from sources on your own.