gotcha/ipdb — Issue #9: 'import ipdb' fails on Python 2.5
Author: kazbak
Created: 2011-10-13 09:02:01+00:00
State: open

Just upgraded to ipdb 0.6 (from version 0.3) on Python 2.5, and now it will not import.

$ python -c "import ipdb"
Traceback (most recent call last):
File "", line 1, in
File "/home/jcross/utils/release-tools/__init__.py", line 1, in

File "build/bdist.linux-i686/egg/ipdb/__main__.py", line 14, in
ImportError: No module named core.debugger

$ python -m ipdb
Traceback (most recent call last):
File "/usr/lib/python2.5/runpy.py", line 95, in run_module
filename, loader, alter_sys)
File "/usr/lib/python2.5/runpy.py", line 52, in _run_module_code
mod_name, mod_fname, mod_loader)
File "/usr/lib/python2.5/runpy.py", line 32, in _run_code
exec code in run_globals
File "/home/jcross/utils/release-tools/__init__.py", line 1, in

ImportError: cannot import name set_trace