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?