Skip to content

Importlib ModuleNotFound Error #8449

Closed Answered by rokm
Leonmmcoset asked this question in Help
May 5, 2024 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

Actually, this is likely the culprit:

module = importlib.import_module(f"_internal.app.{script_name}")

In the frozen application, the module should be called app.{script_name}, since _internal directory is in the search path (as opposed to its parent).

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rokm
Comment options

Comment options

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

@Leonmmcoset
Comment options

@rokm
Comment options

@rokm
Comment options

Answer selected by Leonmmcoset
@Leonmmcoset
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
Converted from issue

This discussion was converted from issue #8448 on May 05, 2024 10:50.