Ask Your Question

Revision history [back]

SAGE_ROOT stands for the base directory of your Sage installation. If you do not know where it is, you can do:

in a shell:

sage -sh -c 'echo $SAGE_ROOT'

in a Sage session:

sage: import os
sage: os.environ['SAGE_ROOT']