Ask Your Question

Revision history [back]

Hello! The problem is in file

$SAGE_ROOT/spkg/bin/sage-env

There is line SAGE_STATUP_FILE = "$DOT_SAGE/init.sage"
I replaced this line to:
SAGE_STATUP_FILE = "home/andrei/.sage/init.sage"
I found the bug in such way:

>>import os
>>os.environ['SAGE_STARTUP_FILE']
/home/andrei/.sage//init.sage