If you have a python-based standalone program on your Mac (e.g. one made with pyinstaller) then you may find that upgrading to macOS "High Sierra" or greater breaks it.
If you have no way to recompile the App for the new OS (which is the best solution), then here are the steps you need to take to fix the problem. High Sierra abandons TCL and TK framework versions 8.4 (in favour of 8.5) and these steps will allow programs depending on version 8.4 to run again.
1 Enter Recovery Mode
Restart your Mac holding down ⌘ and R until you see the Apple symbol in the middle of the screen - this restarts the computer in recovery mode
2 Disable SIP
3 Restart Normally
Close the Terminal app. Click the menu and select Restart (and start up normally)
4 Prepare required TCL and TK files
Once you’re logged in, create two folders, one named TK and one named TCL. Copy these two zip files TK_8_4.zip and TCL_8_4.zip, one into each folder with the corresponding name and then double-click to expand them. They should both produce a folder with the name “8.4”.
5 TK Framework Tweak
6 TCL Framework Tweak
7 Re-enable SIP Mode
You may want to re-enable SIP mode after doing this "surgery" -
Options for this page:
Search All Guides | Search How-to Guides Only | List How-to Guides | Search FAQs Only
Page Last Updated: 30/04/2018 by Webmaster
© 2019 Department of Biochemistry
View printer-friendly version of this page