Hi Paul, I’ve been dealing with the same issue for a long time now, still without a solution. It seems as if there are not many Mac users on this forum, or Mac users that make use of PyInstaller, which truly puzzles me.
Anyways, if you happen to come across a solution I’d be grateful if you could share it, and vice versa. Cheers Thor ____________________________ Dr. Thor Tepper García Astrophysicist www.thorsten.mx @thorsten_mx > On 24 Jun 2021, at 01:38, Paul Fishback <[email protected]> wrote: > > Running Mac Big Sur with Python 3.9 and the most recent pyinstaller. > > My app, whose GUI utilizes tkinter, works fine at the terminal. However, when > I double-click on the app, the icon briefly appears on the computer dock > before disappearing. > > Below is my spec file. > > Thanks. > > Paul > > ************************************* > > block_cipher = None > > a = Analysis(['Sample_Application.py'], > > pathex=['/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages', > '/Users/fishbacp/Desktop'], > binaries=[], > datas=[('/Users/fishbacp/Desktop//background.png','.')], > hiddenimports=['_tkinter','PIL'], > hookspath=[], > runtime_hooks=[], > excludes=[], > win_no_prefer_redirects=False, > win_private_assemblies=False, > cipher=block_cipher, > noarchive=False) > pyz = PYZ(a.pure, a.zipped_data, > cipher=block_cipher) > exe = EXE(pyz, > a.scripts, > [], > exclude_binaries=True, > name='Sample_Application', > debug=False, > bootloader_ignore_signals=False, > strip=False, > upx=True, > console=False ) > coll = COLLECT(exe, > a.binaries, > a.zipfiles, > a.datas, > strip=False, > upx=True, > upx_exclude=[], > name='Sample_Application') > #exe > app = > BUNDLE(coll,name='Sample_Application.app',icon='/Users/fishbacp/Desktop/spectrum.ico',bundle_identifier=None, > info_plist={ > 'LSEnvironment': { > 'LANG': 'de_DE.UTF-8', > 'LC_CTYPE': 'de_DE.UTF-8' > }}) > > -- > You received this message because you are subscribed to the Google Groups > "PyInstaller" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pyinstaller/d86d5fc1-60f5-4608-a3a5-b31da9c2ffd1n%40googlegroups.com > > <https://groups.google.com/d/msgid/pyinstaller/d86d5fc1-60f5-4608-a3a5-b31da9c2ffd1n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/9ED2DEAD-B8C7-4349-9AB0-1D2B4C8DE49D%40gmail.com.
