Message from Python discussions

November 2018

— That's weird

— 

Okay i'm really confused right now. If i write a new test script, it works like I wrote it. In my main Program it doesn't.

— Ok, so does your main program use "Display.py"?

— Yes it does

— Or if it's not the case what is the name of the module you're trying to use

— 🤔

— The module is laying in the same directory as my main program

— Can you please try this:
Start a new python interpreter within any directory except your "src" folder. And try to import Display, if it doesn't give any error, then you have a module called "Display.py" in your system packages.

Message permanent page

— No module found

— Clean code cache when you rename things

— I renamed it on my raspi but not on my laptop and my laptop gives me the exact same error

— Use git to get consistency into this mess