Skip to content

Mac OSX 12.3 Monterey - Python3 Tkinter produces black screens #2014

@donniebergh

Description

@donniebergh

HELP!

I've tried just about all of the Google fixes and still all tk windows/dialogs have a black screen background! I have even tried the Brew installs without any luck ("brew install python-tk@3.10", "brew install python-tk").

Background
I recently updated my MacBook Pro OS to Monterey 12.3 - A clean install from scratch. Now all of my Python/Tkinter apps (I've developed) have a black background hiding the text, buttons etc. The apps appear to still work if get a lucky click on a button.

I'm in the process of learning Python and this has thrown a wrench into the works! I hope there is a simple explanation and fix.

Please provide me with help you can.

Thank you,
-Donnie

Code:
from tkinter import *

app = Tk()

app.title('My App')
app.geometry('500x300')
app.configure(background='white')

app.mainloop()

BlackScreen

Terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions