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

About issues encountered when using pyinstaller to package Windows programs #862

Open
Lian-Po-s-Study-Diary opened this issue Jan 3, 2024 · 3 comments

Comments

@Lian-Po-s-Study-Diary
Copy link

Lian-Po-s-Study-Diary commented Jan 3, 2024

I use pyinstaller to package Python scripts into Windows programs. An error occurred after the program was run, which should be related to the gcc compiler. It should be possible to run the script in a normal Python environment with Theano installed, but an error will be reported after packaging it into a Windows program. May I ask how I can solve this problem?

@Lian-Po-s-Study-Diary
Copy link
Author

QQ截图20240103223234

@Lian-Po-s-Study-Diary
Copy link
Author

After deleting some environment variables, the problem has been resolved.But after running the exe file, the calculation time of the model is greatly extended. Is there any solution.

@Lian-Po-s-Study-Diary
Copy link
Author

I found that this seems to be caused by "m2w64 toolchain" or "g++". I tried to copy "g++. exe" to the directory, but a new error message appeared and the model could not be generated

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

No branches or pull requests

1 participant