1 | initial version |
Instead of using the Ubuntu package installed via sudo apt install
, use the SageMath 9.1 binary for Ubuntu 18.04 downloaded from https://www.sagemath.org/download-linux.html. In that version, you can run sage -pip install
without any trouble; moreover, you'll get a much more recent version of Sage.