Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply environ and path changes before other imports #102

Merged
merged 3 commits into from
Sep 17, 2024

Conversation

diego-treitos
Copy link
Contributor

In python 3.12 you need to modify the paths before the import happens or else the execution will fail complaining with the error ModuleNotFoundError: No module named 'train_network', as referenced in issue #101

In this PR I moved the environ and path changes to right after the os and sys imports. This makes the app launch successfully in python 3.12

@cocktailpeanut cocktailpeanut merged commit 05b7e5d into cocktailpeanut:main Sep 17, 2024
@cocktailpeanut
Copy link
Owner

Thank you, My bad!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants