Tkinter Crashes Computer After Macos 10.14.6 Update
Solution 1:
This problem has troubled me for a long time. My macOS version is 10.14.6 (Mojave). Running tkinter will crash the system, but I don’t want to update macOS version to 10.15 (Catalina) for this problem.
I got a solution by updating the python version.
My own test results, python versions 3.8.2 and 3.8.3 can fix the problem, but python versions 3.8.1, 3.7.x, 3.6.x will cause the crash.
Solution 2:
I can confirm that this happens with Python 3.7.x. Moving to 3.8.3 fixes the problem.
Solution 3:
Workaround: boot in Safe Mode.. (Other apps are experiencing this.)
The macOS Window Server is crashing.. The Console.app contains the crash report in the "System Reports" node.
Process: WindowServer Thread 0 (main thread) crashes in CGXBeginSurfaceLayerUpdate
Solution 4:
I had the same problem with Mac OSX 10.14.6 completely crashing with no error messages and logging me out or rebooting. It was fixed by removing Anaconda and using the python.org ver 3.7.4. A good link for removing Anaconda is here. How to uninstall Anaconda completely from macOS
Solution 5:
The new MacOS Catalina (Version 10.15) update seems to fix the problem for me. By specifying the tcl version and making sure the right tcl is used, I was able to successfully bundle and run my python script with tkinter. Yay!
Post a Comment for "Tkinter Crashes Computer After Macos 10.14.6 Update"