I have IPython(0.13.1) and ipdb(0.7) installed, I inserted the line import ipdb;ipdb.set_trace() in my script and ran python my_
IPython(0.13.1)
ipdb(0.7)
import ipdb;ipdb.set_trace()
python my_
I had the same problem and I fixed it with:
sudo pip install --upgrade ipdb ipython readline
If you don't have readline installed make sure to install libncurses5-dev as @musashi14 suggested.
readline
libncurses5-dev