Tkinter: Python may not be configured for Tk

Tkinter: Python may not be configured for Tk

Under Arch/Manjaro just install the package tk:

sudo pacman -S tk

Solution for MacOS

After trying a bunch of things, this is how it finally worked:

$ brew install python-tk

Tkinter: Python may not be configured for Tk

Install tk-devel (or a similarly-named package) before building Python.

Leave a Reply

Your email address will not be published.