Solution for: #3: iPython indents and command history broken

editline vs. readline

Seems that this was the problem: "Many of the problems users have experienced in IPython on OS X leopard are due to Apple's use of the BSD editline library instead of the GNU readline library in Leopard's system python. Ludwig Schwardt's has created an egg that statically links agains the GNU readline library. With this egg installed in /Library/Python/2.5/site-packages (or anywhere on the PYTHONPATH), the system python on OS X 10.5 is now pretty much the way to go. Dtrace support is a real advantage and setuptools mitigates the other issues described below. Many of the issues due to libedit have been fixed in recent versions of IPython. If you are using the latest IPython and are still experiencing issues due to readline vs. libedit incompatibilities, installing the readline egg (below) should fix things." from

References used:


  1. Man, I posted this problem&solution a while back, and I forgot all about it. I ran into the same problem again on a new computer, and googled 'ipython broken' and this comes up as a first result. Perfect!

    Hannes on September 24, 2010, 12:30 PM UTC