Ask Your Question

Gong-Yi Liao's profile - activity

2014-05-13 01:59:35 +0200 received badge  Nice Answer (source)
2013-10-20 18:42:12 +0200 received badge  Famous Question (source)
2013-03-13 21:16:00 +0200 received badge  Popular Question (source)
2013-02-08 14:19:23 +0200 received badge  Notable Question (source)
2013-02-05 09:34:08 +0200 received badge  Teacher (source)
2013-02-05 09:34:08 +0200 received badge  Necromancer (source)
2012-10-14 17:19:25 +0200 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 07:26:35 +0200 received badge  Popular Question (source)
2012-01-17 06:37:31 +0200 received badge  Student (source)
2011-12-31 12:46:31 +0200 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'

then

echo "Sage already Running";

else

 sage -notebook

fi

2011-12-28 10:48:14 +0200 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 14:22:49 +0200 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 14:14:03 +0200 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 14:14:03 +0200 received badge  Scholar (source)
2011-12-12 14:13:59 +0200 received badge  Supporter (source)
2011-12-12 10:35:00 +0200 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__ ?