How to set the preferred kernel?
Everytime after I upgrade Sagemath (say from 10.3 to 10.4); I cant open the original notebook without going through two dialog clicks: (1) Acknowledge Error of starting kerne, (2) Select a new kernel.
It seems that Sagemath supports preferred kernel in the second dialog click. Where do I set the preferred kernel so it always automatically open a notebook with the latest version of kernel?
What is your platform ? How do you start Sage ? And how did you install Sage ?
I use MacOS, I download the binary file SageMath-10.4_arm64.dmg from: https://github.com/3-manifolds/Sage_m... and click the downloaded file, the installation is then automatic.
What is returned when typing
sage -sh -c 'jupyter kernelspec list'
in a terminal ? Is that the correct kernel ?Available kernels: python3 /private/var/tmp/sage-10.4-current/venv/lib/python3.12/site-packages/ipykernel/resources sagemath-10.4 /private/var/tmp/sage-10.4-current/venv/share/jupyter/kernels/SageMath-10.4 sagemath-10.1 /usr/local/share/jupyter/kernels/SageMath-10.1 sagemath-10.2 /usr/local/share/jupyter/kernels/SageMath-10.2
I just deleted the two folders SageMath-10.1 and SageMath-10.2:
I restarted SageMath, and it still wont automatically use SageMath-10.4 when I open a old noteboo
@mlv : this seems to be Mac-specific (the "applications" in Mac OS parlance are "something different"), in which case I'm unable to help you (I won't touch OS X with a ten foot pole...).
Your best bet is to ask for help on sage-support.
Sorry for wasting your time...