Hello,

I am very impressed with sage, and would love to use it on my Ubuntu server. I 
attempted to install sagecell, but that was a huge mess and I gave up. I do not 
want to make calls to another system outside my network, so I need sage (or 
sagecell) to run locally.

I am running Ubuntu 12.04 Server with the latest version of Sage binary 
installed. When I attempt to execute a sage -python call I receive the 
following error in my Apache2 error.log:

Error: environment variable $HOME is not set.
Error setting environment variables by sourcing 
'/usr/lib/sagemath/spkg/bin/sage-env'

Setting $HOME in the python script does not fix this. /var/www/.sage exists in 
the www-data home directory of /var/www. www-data owns and has r/w on 
/var/www/.sage.

Is there a fix for this? If not, is there a successful install instruction set 
for installing sagecell on Ubuntu with the latest release of Sage? Any other 
alternatives for execution of python code using the Sage libraries so I can 
execute things in sage and return them to my PHP script being run on the 
webserver?

Thanks in advance,

-Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to