I installed sage on Ubuntu (24.04) , and sage works fine in a terminal, but if I try "sage -n" Jupyter opens without a sagemath kernel. This is not surprising since I also get the message "WARNING:traitlets:Kernelspec name sagemath cannot be found!".
I have tried both building sage from source, and installing it from the appimage, and get the same results in both cases. How can I fix this?