help needed for installing (?) notebook via conda/mamba on linux

15 views
Skip to first unread message

Martin R

unread,
Jul 15, 2026, 4:26:56 AM (8 days ago) Jul 15
to sage-support
Someone else is going to use my computer and wants to do

sage -n 

to use the notebook.

However, doing so I get the following.  This is on ubuntu 24.04.  sage is the development version (10.10.beta5)

Many thanks in advance,

Martin

(sage-dev) martin@toolbox:~/sage-trac$ sage -n jupyter
Traceback (most recent call last):
 File "/home/martin/sage-trac/src/sage/cli/notebook_cmd.py", line 42, in run
   from notebook.notebookapp import main
ModuleNotFoundError: No module named 'notebook'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/home/martin/miniforge3/envs/sage-dev/bin/sage", line 3, in <module>
   from sage.cli.__main__ import main
 File "/home/martin/sage-trac/src/sage/cli/__main__.py", line 9, in <module>
   sys.exit(main())
            ^^^^^^
 File "/home/martin/sage-trac/src/sage/cli/__init__.py", line 60, in main
   return JupyterNotebookCmd(options).run()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/home/martin/sage-trac/src/sage/cli/notebook_cmd.py", line 45, in run
   from notebook.app import main
ModuleNotFoundError: No module named 'notebook'


Reply all
Reply to author
Forward
0 new messages