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

Can't create .exe with pyinstaller when using pygame_menu #264

Closed
AlcuZan opened this issue Jan 16, 2021 · 5 comments
Closed

Can't create .exe with pyinstaller when using pygame_menu #264

AlcuZan opened this issue Jan 16, 2021 · 5 comments
Labels

Comments

@AlcuZan
Copy link

AlcuZan commented Jan 16, 2021

Environment information
Describe your environment information, such as:

  • SO: win10
  • python version: v3.9
  • pygame version: v2.0.1
  • pygame-menu version: v3.5.1

Describe the bug
grafik

To Reproduce
With pyinstaller installed via pip, just take any of the examples (for example simple.py), run pyinstaller -F simple.py, then try to execute simple.exe in the dist folder.

Expected behavior
When executing the .exe, the program should run. Instead it crashes.

@AlcuZan AlcuZan added the bug label Jan 16, 2021
@ppizarror
Copy link
Owner

Fixed, Added pygame_menu/__pyinstaller. It works as intended. I'll push the changes to v4 and v3 as well.

image

@ppizarror
Copy link
Owner

Works for both pyinstaller -D and pyinstaller -F. I had no idea this module existed, in the past I used py2exe but that didn't work well.

This was referenced Jan 16, 2021
@ppizarror
Copy link
Owner

New version published =)

@AlcuZan
Copy link
Author

AlcuZan commented Jan 17, 2021 via email

@ppizarror
Copy link
Owner

ppizarror commented Jan 17, 2021 via email

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

No branches or pull requests

2 participants