Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trouble Importing in Ipython: ImportError: No module named 'ipdb'

I've run pip install ipdb but when I run import ipdb in iPython I still get the error: ImportError: No module named 'ipdb'

What does this mean?

Similarly, when I'm importing files (with .py extension) in iPython, I'm also getting this error (ImportError: No module named Chapter_1_Python_Syntax) though I've checked the path to the directory and it's correct.

like image 933
Erin Wolpert Avatar asked Oct 12 '25 07:10

Erin Wolpert


1 Answers

When I get this error after using 'pip install', closing and restarting the terminal usually solve the problem.

like image 88
Julien St-Pierre Fortin Avatar answered Oct 14 '25 20:10

Julien St-Pierre Fortin