Today I updated the macOS to Monterey. And so far faced some problems for which I got few solutions, but for this problem there no Solution anywhere!!
When I run a tkinter program then GUI window is blank black.
This is a headache for me today.
Help!!
-
3Which version of Python? Which version of TKinter? Which version of Tcl/Tk? What is the actual code that is not working? (preferably distilled down to a minimal example, not all the code in your project)– Joachim IsakssonNov 4, 2021 at 18:46
-
1Could you be more clear as to what exactly is wrong? Is the window empty, and it's black instead of the usual cream? Or did you add widgets to the window? Please provide a minimal, reproducible example so that we can help.– Sylvester KruinNov 4, 2021 at 22:01
-
@joachim I am using python 3.8 and all was working smooth before the monterey update. Then suddenly everything changes.– Dhondi PranavNov 5, 2021 at 3:16
-
Usually i was developing a pong game in Tkinter GUI, BEFORE the GUI was working fine, but now the GUI is plane black. The Sublime text was also giving an error. Installation of xcode using some command helped.– Dhondi PranavNov 5, 2021 at 3:21
Add a comment
|
1 Answer
Had the same problem. Just updating to Python 3.10.0 from http://www.python.org solved this problem for me.
The 3.10.0 installer gives us a glimpse of this fix as you can see in this image taken from it.