I installed IPython and readline through pip like this:
sudo pip install ipython
sudo pip install readline
but I find that I can't input '<' in either Python shell or IPython shell. When I type '<' my mac would alarm.
I think this may be related to readline
because when I remove readline from my computer it works okay and I can type '<' in shell.
I'm using macbook pro, iTerm2, 10.8.3, python2.7.2