Ask Your Question

Gong-Yi Liao's profile - activity

2014-05-12 18:59:35 -0500 received badge  Nice Answer (source)
2013-10-20 11:42:12 -0500 received badge  Famous Question (source)
2013-03-13 15:16:00 -0500 received badge  Popular Question (source)
2013-02-08 07:19:23 -0500 received badge  Notable Question (source)
2013-02-05 02:34:08 -0500 received badge  Teacher (source)
2013-02-05 02:34:08 -0500 received badge  Necromancer (source)
2012-10-14 10:19:25 -0500 answered a question Sage uses system-wide python...

Another quick hack:

cd $SAGE_ROOT/local/lib/python
cp -r site-packages/IPython ./.

Then run sage again, I think it will use the IPython package shipped with Sage.

2012-08-29 00:26:35 -0500 received badge  Popular Question (source)
2012-01-16 23:37:31 -0500 received badge  Student (source)
2011-12-31 05:46:31 -0500 marked best answer how to run sage as a service

You can put the following command in your $HOME/.profile file.

sage -notebook

This file is executed every time you login.

If you are having multiple simultaneous logins, then you can put some checks whether sage is already running, e.g. using script like

if ps aux | grep 'sage'


echo "Sage already Running";


 sage -notebook


2011-12-28 03:48:14 -0500 asked a question how to run sage as a service

How do I run sage as a web application service (like running an instance of Ruby on Rails or a Django web application) without entering sage ipython CLI session?

Because I don't want to keep a terminal emulator like gnome terminal or x-term open,I just want to run sage in the background with log recorded in some files (say, $HOME/.local/sage/log/notebook.log).

2011-12-12 07:22:49 -0500 commented answer Build sage with components those are already installed

I agree that "batteries included" approach is a robust way to provide a conglomerate tool like SAGE. Although such a conservative approach can have some overhead, but now a day the cost of disk space is cheaper, (if we, irrelevantly, compare to the cost of solving the program integration problem, the disk space cost almost can be totally ignored).

2011-12-12 07:14:03 -0500 received badge  Scholar (source)
2011-12-12 07:14:03 -0500 marked best answer Build sage with components those are already installed

Welcome to Sage!

The short answer is no. A long time ago we had a Debian version along these lines, but that is not current, though I think some folks have been working on it.

However, Sage on Gentoo sort of does this, using system versions.

The longer answer is about Sage's philosophy of "batteries included", which someone else might want to comment on - there are endless discussions of this on the Sage development list every so often.

2011-12-12 07:13:59 -0500 received badge  Supporter (source)
2011-12-12 03:35:00 -0500 asked a question Build sage with components those are already installed

Hi, I am using Linux Mint 12 (Ubuntu 11.10 based) mixed with Debian unstable. In fact, I have almost all the components of SAGE installed on my system (python-scipy, R, maxima, ... etc). I am wondering if there are any options available in Makefile or configure file those allow me build only the sage's interface to these installed packages rather than build __everything from source spkg__ ?