Since the upgrade to the Python LEAN engine, my projects are broken. I get the build error:

"Build Error: File: n/a Line:0 Column:0 - No python main.py module. Ensure there is only one file, named main.py"

The error goes away if I delete every file except for 'main.py'.

Screenshot of example project with one extra file with zero code, does not build:

Same project right after deleting the extra file:

Is this how it's meant to behave? Now we have to put all code in 'main.py' instead of being able to use imports? If not, what's the fix?

Thanks!

Author

Ryan Connor

May 2017