Get IPython tab completion for ipdb

前端 未结 5 1463
名媛妹妹
名媛妹妹 2020-12-31 00:28

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_

5条回答
  •  春和景丽
    2020-12-31 01:20

    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.

提交回复
热议问题