Ask Your Question

Revision history [back]

The Sage you installed using sudo apt install sagemath uses the system Python.

So you can simply use

pip install package_name

The Sage you installed using sudo apt install sagemath uses the system Python.

So you can simply use

pip install package_name

Hopefully in the future we can make it so that

sage --pip install package_name

also works in the case when Sage is installed via a package manager such as apt, or at least prints out a helpful message telling the user to use pip instead of sage --pip or sage -pip.