What worked for me; short and simple:
1) Install iPython
- sudo easy_install ipython
2) Download the file/egg for Mac OSX readline, and place in path, then edit easy_install.pth
- Download: http://ipython.scipy.org/dist/readline-2.5.1-py2.5-macosx-10.5-i386.egg
- cp ~/Downloads/readline-2.5.1-py2.5-macosx-10.5-i386.egg .
- sudo vim easy-install.pth
- While editing the file add: ./readline-2.5.1-py2.5-macosx-10.5-i386.egg
3) Run iPython and test.
Pingback: Getting IPython readline and auto-completion to work on Mac OS X | Patrick's playground
Just one little detail: you need to do all this in the site-packages directory, e.g. /Library/Python/2.5/site-packages.
My new easy-install.pth file:
import sys; sys.__plen = len(sys.path)
./ipython-0.10-py2.5.egg
./readline-2.5.1-py2.5-macosx-10.5-i386.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,’__egginsert’,0); sys.path[p:p]=new; sys.__egginsert = p+len(new)