Use IPython notebook from Sage 6.3 (Mac OS X 10.9)

Installation of Sage ( Mac OS X 10.9)

Download the latest Sage from here.


Copy it to the Applications folder. 

Start the sage from the terminal by adding the following to .bash_profile.

 export SAGE_ROOT=/Applications/ PATH=$PATH:${SAGE_ROOT}

Then source the saved .bash_profile by

 source ~/.bash_profile


. ~/.bash_profile

Make sure ipython is available in Sage.

 $ sage -ipython 

Python 2.7.8 (default, Aug 10 2014, 17:39:35) IPython 2.1.0 -- An enhanced Interactive Python.

August 2014 the current version of IPython that Sage supports to install it so 2.1.0.

Setting in order to be able to use IPython notebook


$ sage -i zeromq 
$ sage -i pyzmq


Notebook ipython 2.1.0 will be held in the next.

 $ sage -ipython notebook

In the first cell of the notebook from sage.all import * you will environment that can be used is sage if the input.

The following can be useful when it is output to the script of the input line.

 $ sage -ipython notebook --script

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s