Install errors when installing in Debian GNU/Linux 13 (trixie)
I received these errors (and more): The following packages have unmet dependencies: sagemath-jupyter: Depends: jupyter-nbextension-jupyter-js-widgets but it is not installable python3-sage: Depends: python3 (< 3.12) but 3.13.5-1 is to be installed Depends: python3-cypari2 (>= 2.1) but it is not going to be installed Depends: python3-numpy-abi9
I would appreciate any comments please.
Copilot answer:
The errors come from Debian Trixie using Python 3.13, while the SageMath Debian packages are still built for older Python versions. This is why you see:
python3-sage requires python3 < 3.12
python3-cypari2 and python3-numpy-abi9 cannot be installed
jupyter-nbextension-jupyter-js-widgets no longer exists in Trixie
So SageMath cannot be installed via apt on Trixie at the moment.
Workarounds:
install SageMath from source
use the official binary tarball
or run SageMath in a Docker container
Debian Testing often breaks SageMath until packages are rebuilt.