Ask Your Question

Revision history [back]

It seems you have installed a rather recent version of Python on that computer, given that Ubuntu 20.04 comes only with Python 3.8. The SageMath package for Ubuntu 20.04 is outdated: it is 9.0 while the current stable version is 9.7 (9.8 soon). I would recommend that you install Sage 9.8.rc1 (which does support Python 3.11) from source. This is quite easy on Ubuntu: see https://sagemanifolds.obspm.fr/install_ubuntu.html