← Go Back

How to Fix RuntimeError: Calling Tcl from different apartment

The exception occurs when trying to interact with a Tk widget from a child thread. The tkinter module cannot be used from multiple threads. To overcome this limitation, see our article Background Tasks With Tk (tkinter).

tkinter threads

🐍 You might also find interesting: