Import Error occurs for no apparent reason

I don’t know to get rid of this ImportError when there is an actual module named “Command” and the IDE wasn’t complaining about it before. For some reason it all of a sudden can’t find the module. Why does this happen?

There’s a module called Command.py on the root folder of your camera correct?

Yes. To fix the problem I had to install a new SD card. Why it fixed the problem, I don’t know. It was a brand new SD card,

The system was probably having a hard time reading the card.