I don't know from what time, but when I make a MacOS application with pyinstaller and drive it
”Crash” Has occurred and a log like a memory problem has gone up.
Process: test-gui [3465]
Path: /Users/USER/Documents/*/test-gui.app/Contents/MacOS/test-gui
Identifier: test-gui
Version: 0.0.0 (???)
Code Type: X86-64 (Native)
Parent Process: test-gui [3463]
Responsible: test-gui [3463]
User ID: 501
Date/Time: 2015-09-07 17:40:28.796 +1000
OS Version: Mac OS X 10.10.5 (14F27)
Report Version: 11
Anonymous UUID: 7267BA3C-1EDF-8AD3-E3CD-905E8385C51C
Time Awake Since Boot: 310 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff91dd1286 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff87c529b3 abort + 129
2 libtcl8.6.dylib 0x0000000106288633 Tcl_PanicVA + 428
3 libtcl8.6.dylib 0x00000001062886c7 Tcl_Panic + 148
4 libtcl8.6.dylib 0x00000001061d5dc1 DeleteInterpProc + 53
5 libtk8.6.dylib 0x000000010609205a Tk_CreateConsoleWindow + 936
6 libtk8.6.dylib 0x000000010613d73b TkpInit + 979
... (Omission)
At first I thought this was a wxPython version upgrade issue. As a result, some were correct. It was caused by wxPython installed through HomeBrew.
I enthusiastically asked Google God, but there was no effective answer. Just repeat wxPython reinstallation.
However, during this time, I asked Google again and found a site that says "brew problem".
I had the same issue - my setup was python3 and pyqt4, both installed via brew. First I completely removed brew:
cd `brew --prefix`
rm -rf Cellar
brew prune
rm -rf Library .git .gitignore bin/brew README.md share/man/man1/brew
rm -rf ~/Library/Caches/Homebrew
- See more at: http://www.qhmfx.com/article/cgiaicgf-pyqt4-py2app-and-pyinstaller-crash-when-moving-app-to-another-machine.html#sthash.AZGiyyID.dpuf
So I tried uninstalling Homebrew. You can do the above, or some sites offer scripts.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
So I removed brew + wxPython all at once and installed wxPython without going through brew to drive pyinstaller.
The result is Succeeded ~
Now you can see why MacOS doesn't officially support HomeBrew.