Ask Your Question

Revision history [back]

Unfortunately, the version of SageMath installed via Ubuntu's package manager does not allow to add extra packages via sage -i. The solution is to install SageMath 10.0 from sources. This is very easy on Ubuntu 22.04: there is just a few commands to type according to these lines: https://sagemanifolds.obspm.fr/install_ubuntu.html . Then you can run sage -i jupyterlab successfully. As a bonus, you'll get a more recent version of SageMath (Ubuntu 22.04 package is only 9.5). NB: to avoid any confusion, it is recommended to first uninstall the Ubuntu sagemath package.