-
Notifications
You must be signed in to change notification settings - Fork 52
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
Mac DMG quits immediately after opening #1
Comments
It quits after opening the What version of MacOS are you running? Please link me to the relevant GitHub Actions output. Try opening the executable directly using the command-line to see if it produces additional output.
|
Wait, where's your python files? You need a If you want another example to look at how your |
My bad, I had made a few changes and forgot to re-upload. Just ran through the Actions again: https://github.com/mdegenero/cross-platform-python-gui/runs/962485463?check_suite_focus=true When I try to open helloWorld.app, I get the following error: File "virtual_ensemble.py", line 38, in |
I see you've already added numpy to your What I don't understand is why both
Change
to
If that doesn't work, try googling for |
I added the line "pip install --user --upgrade --force-reinstall numpy" to the buildDmg.sh file and that seemed to get rid of the numpy error. I am now getting a similar error, but for matplotlib: "ModuleNotFoundError: No module named 'matplotlib'" |
So, I got the same "ModuleNotFoundError" for all of my Python imports; so I added the --force-reinstall command for all of those imports, manually, in the buildDmg.sh file. I am now getting the following error:
|
I updated the |
As for this, first confirm that your code itself doesn't have errors by running And if this is PyInstaller-specific, then please search the internet for the error and update this ticket with your findings for the benefit of others |
Closing this. Please re-open if this is indeed an issue with this repo. And please add comments if you solved your issues with PyInstaller/matplotlib |
Hi @maltfield --
I ran the application through to create executables, but when I tried to open the dmg from helloWorld-mac-x86_64, it immediately quits after opening. It doesn't look like there were any errors outputted with the PyInstaller command. Do you know what might be causing this issue?
My project contains two python files and a .kv file, as well as a few .pngs. I can upload any relevant logs or files, if that will help.
The text was updated successfully, but these errors were encountered: