There is a way to use notebook from the system, already in 9.3. See https://doc.sagemath.org/html/en/installation/launching.html#setting-up-sagemath-as-a-jupyter-kernel-in-an-existing-jupyter-notebook-or-jupyterlab-installation This doc was added in https://trac.sagemath.org/ticket/30476
IMHO this should become the default way to use jupyter. On Sun, Jul 18, 2021 at 12:13 AM Matthias Koeppe <[email protected]> wrote: > > This has most likely nothing to do with openssl, despite the "helpful" > message issued by the script src/bin/sage-notebook > > On Saturday, July 17, 2021 at 3:07:21 PM UTC-7 Kiran Kedlaya wrote: >> >> I'm building Sage 9.4beta4 on an Ubuntu 21.04 system, and the build >> superficially looks fine until I try to start Sage in notebook mode: >> >> Traceback (most recent call last): >> File >> "/home/kedlaya/sage/local/lib/python3.9/site-packages/sage/repl/ipython_kernel/install.py", >> line 269, in have_prerequisites >> from notebook.notebookapp import NotebookApp >> ModuleNotFoundError: No module named 'notebook' >> >> The Jupyter notebook requires ssl, even if you do not use >> https. Install the openssl development packages in your system and >> then rebuild Python (sage -f python3). >> >> I presume this is an issue because Sage is using my systemwide Python >> (3.9.5) rather than building its own. Anyone know what Ubuntu package >> provides the appropriate dependency? Better yet, why isn't the configure >> script checking for this? >> >> Kiran >> > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/1f24c316-dfd5-47bd-9b7e-00efb4502149n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq0XH-Pewc3no7PkKWNC1%3D2Mmr-WyjN3DTMWEkMfXarNpQ%40mail.gmail.com.
