OSX Lion / Snow Leopard Terminal Line Wrapping Problem Solution

I’ve always dealt with line wrapping problems on OSX and my terminal. Specifically, iPython. I finally looked for a solution, and the problem was not having python readline installed.

My iPython looked like this:

After a simple google search, a user named minrk on github pointed out that iPython actually complains about “leopard libedit detected”, meaning iPython could not find the readline module.

Yes, a better message is in order….

Anyways, sudo easy_install readline and you’re done.

sudo easy_install readline


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s