Skip to content
Discussion options

You must be logged in to vote

Swapping the imports doesn't change the error, which is odd:

Traceback (most recent call last):
 File "main.py", line 10, in <module>
ModuleNotFoundError: No module named 'src.scenes.main_menu_scene'

Indeed. It means that the issue is not search path (since other modules imported there were collected), but there is something wrong with this particular module. Is the source file corrupted, or does it contain a syntax error (perhaps a construct that does not work in python 3.11 that you're building with on CI, but works with whatever version you are using to develop locally)?

If I recall correctly, we raise errors only for syntax errors in the entry-point script, but not in the imported …

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@rokm
Comment options

rokm Jan 29, 2026
Maintainer

@rokm
Comment options

rokm Jan 29, 2026
Maintainer

@DeepThoughtt
Comment options

@rokm
Comment options

rokm Jan 29, 2026
Maintainer

Answer selected by DeepThoughtt
@DeepThoughtt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants