Created by dan on Monday 15th February, 2010 at 10:42 AM
Tags: Mac OS, Python
Just a quick one I thought I'd share.
At some point a while back I decided to install IPython, at least I assume I done it knowingly! Anyhow, I noticed that when I jumped in to the Django shell, I'd get a message along the lines of "Leopard libedit detected.", then a colourful shell presented itself before my eyes. Yes, I'm on a Mac with Snow Leopard.
I don't doubt that the IPython project is very useful to some, however it quickly began to unravel a number of bugs for me, primarily relating to command history and the cursor appearing in odd places, so this morning I decided that it wasn't for me and set out to remove it. I had not, however checked for any later versions of IPython to see if the issues I had experienced were resolved, so it may be completely functional now.
The removal process is very simple, so if anybody has found themselves in a pickle trying to figure it out, then this will help.
I won't detail the commands, but simply put, 'cd' in to your Python directory and you should find a 'site-packages' directory. At the same level, I created a directory called 'site-packages.old'. I then found an '.egg' directory in 'site-packages', prefixed with 'ipython'. I then moved the 'ipython'-prefixed directory from 'site-packages' in to 'site-packages.old'.
Immediately after that, I found myself back with the standard shell.