Silly question, but are you sure you are starting up Sage 9.0 when you do all of this ("sage --notebook" or "sage --sh")? If you give an explicit path to the Sage 9.0 version, does that help? Do you have any Sage-related environment variables which could be interfering with things?
On Wednesday, May 6, 2020 at 12:54:16 PM UTC-7, Szabolcs Horvát wrote: > > Thanks for the help Dima, but sadly, even this did not work :-( Is there a > simple way to set up the kernel manually? > > On Wed, 6 May 2020 at 20:32, Dima Pasechnik <dim...@gmail.com > <javascript:>> wrote: > >> this looks like a conflict between two versions of Sage (more >> precisely, of jupyter). >> >> Not sure how this can happen, though. You migh try to start "sage -sh" >> of your Sage 9.0 and at its >> prompt start >> >> jupyter-notebook >> >> it should give you an option to open URL of the shape >> http://localhost:8888/?token=.... >> >> where you should ge the correct jupyter kernel (hopefully) >> >> >> On Wed, May 6, 2020 at 7:19 PM Szabolcs Horvát <szho...@gmail.com >> <javascript:>> wrote: >> > >> > >> > >> > On Wednesday, 6 May 2020 20:11:50 UTC+2, Dima Pasechnik wrote: >> >> >> >> On Wed, May 6, 2020 at 6:58 PM Szabolcs Horvát <szho...@gmail.com> >> wrote: >> >> > >> >> > I use sage 9.0 and sage 8.9 on macOS. I compiled them myself so I >> would gain access to other ILP solvers than GLPK. >> >> > >> >> > They work fine in command line mode. But if I start Sage 9.0 as sage >> --notebook, it gives me an interface to create a new notebook, which only >> has the kernel "Sage 8.9". How can I get the Sage 9.0 kernel? >> >> >> >> sage -notebook=jupyter >> >> >> >> should give you jupyter notebook. >> >> >> >> sagenb would only work with Python2 Sage (by default Sage 9.0 is built >> >> with Python3, not 2) >> >> >> > >> > Yes, I do get a Jupyter page in the browser, but not a notebook. In >> order to create a notebook, one must click "New" and choose the Jupyter >> kernel to use. There is no Sage 9.0 kernel there. There are some of the >> Python kernels I use independently of Sage, and there is Sage 8.9. How can >> I install the Sage 9.0 kernel? Is there documentation on this? >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "sage-support" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to sage-s...@googlegroups.com <javascript:>. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-support/4feab8f6-c3dc-450d-92c3-95039aa1d7e2%40googlegroups.com >> . >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "sage-support" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/sage-support/X5sXp3a-TmA/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> sage-s...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-support/CAAWYfq1viv3gEHKxfPCRqLBmvFc9gOsCKJiu1c_s_yQoDF8XWg%40mail.gmail.com >> . >> > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/124d3fe3-1b3a-4c5e-aee5-f2a44bb446cd%40googlegroups.com.