On Thu, May 7, 2020 at 11:29 AM Szabolcs Horvát <szhor...@gmail.com> wrote: > > > On Thu, 7 May 2020 at 00:41, John H Palmieri <jhpalmier...@gmail.com> wrote: >> >> Silly question, > > > Any suggestion is always appreciated :-) > >> >> 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? > > > I start Sage with the full path. I have it in ~/sage-9.0. I'm on macOS and I > compiled it from source. I start it as ./sage. I think it's somehow picking > up the global jupyter configuration, even if it is running its own jupyter ...
It might be an interference with a "global" jupyter install, if you have any (e.g. from Conda). I'd also check that there is nothing funny in ~/.jupyter/, in ~/.sage/ etc. (you could temporarily rename these to something else, and try running again) > >> >> >> >> 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> 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> 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. >>>> > 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. >>>> 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 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-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. > > -- > 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/CAJDnrnrpjMwAYk%3DpPa0rQ7uuU00i-tNtG%3DYWMgEsADbKMd5a6g%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/CAAWYfq2-foiXptRBj_sX%2Bz_wgmnnXfjsLfmSgkGt%3DkkQ8ENkhQ%40mail.gmail.com.