Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

So you can simply use

pip install package_name
click to hide/show revision 2
No.2 Revision

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.