Skip to content Skip to sidebar Skip to footer

Module Not Found When Debugging

I am running a Python client using PyCharm. If I just run it, PyCharm simply calls: C:\Python27\python.exe E:/faf/client/src and everything is fine. These are my settings: If I w

Solution 1:

I had to click on the src directory and add it as source folder (Mark Directory As -> Source Root). No apparent thing changed like e.g. the way the python command got called.

So if you have a similar looking problem try to do the same.

Solution 2:

I resolved this issue for myself by adding an init.py in the folder of the module I was trying to import.

Post a Comment for "Module Not Found When Debugging"