| 1 | initial version |
Why don't you set $HOME in your python script? Maybe try
if 'HOME' not in os.environ:
os.environ['HOME'] = ...something you have write access to...
(The script $SAGE_ROOT/spkg/bin/sage-env, which is run each time Sage starts up, requires that $HOME is set.)
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.