Thursday, April 15, 2010

[Python] Intall IPython without root previledge

(1) Download ipython-0.10.tar.gz from http://ipython.scipy.org/moin/Download .

(2) Untar it and move to the directory where the numpy is.

(3) Run '>> python setup.py install --home=~/.local '

(4) Add the following lines to your .bashrc . Here I assume that your python version is 2.4.x.
export PYTHONPATH=$HOME/.local/lib/python2.4/site-packages:$PYTHONPATH
PATH=$PATH:$HOME/.local/bin
export PATH

(5) In order to use ipython on emacs, add the following to your .emacs . Refer the details to ipython.el, which is self-contained.
(add-to-list 'load-path "~/.emacs_addons")
(require 'ipython)

No comments: