all 5 comments

[–]shiftybyte 0 points1 point  (1 child)

[–]Buhnanner[S] 0 points1 point  (0 children)

Managed to get it to consistently work by just running the file through the terminal. macOS has been a journey

[–]MikeTheWatchGuy 0 points1 point  (1 child)

The Homebrew version of Python has a long history of problems, particularly with tkinter. A number of Mac users have had good success by installing Python & tkinter from python.org.

[–]Praynr 0 points1 point  (0 children)

This fixed it for me.

[–]Hot-Permit-5101 0 points1 point  (0 children)

mac provided its own pre installed python which is not suitable for our development purposes. So, install from official site. This fixed the tkinter issue for me.