ImportError: No module named 'ipdb'

Erin Wolpert picture Erin Wolpert · Jan 15, 2016 · Viewed 20k times · Source

I'm new to python and I'm trying to use the interactive python debugger in the standard python package. Whenever I run "import ipdb" in my text editor (atom) or in the command line through iPython then I get the error: ImportError: No module named 'ipdb'

Where is my ipdb module? It's still missing after I reinstalled python.

Thanks!

Answer

wim picture wim · Jan 15, 2016

pdb is built-in. ipdb you will have to install.

pip install ipdb