After a day of headache, this worked for me:

$ brew install python-tk
Answer from subtleseeker on Stack Overflow
🌐
GeeksforGeeks
geeksforgeeks.org › python › how-to-install-tkinter-on-macos
How to Install Tkinter on MacOS? - GeeksforGeeks
July 23, 2025 - ... Step 1: Download the latest source package of Tkinter for python3 from here. curl https://files.pythonhosted.org/packages/a0/81/742b342fd642e672fbedecde725ba44db44e800dc4c936216c3c6729885a/tk-0.1.0.tar.gz > tk.tar.gz · Step 2: Extract the ...
Discussions

Python3 installation with tkinter
I’m trying to use a package that depends on tkinter in python, and can’t get it to work. I run into the error “_tkinter” not found, and a suggestion my installation might not have been configured to use tkinter. This stackoverflow post suggested I should use the flags --with-tcl-tk, ... More on discourse.brew.sh
🌐 discourse.brew.sh
0
0
December 13, 2018
python - How to pip install tkinter - Stack Overflow
Why does tkinter (or turtle) seem to be missing or broken? Shouldn't it be part of the standard library? (6 answers) Closed 3 years ago. I use pip install python-tk but have an error ERROR: Could not find a version that satisfies the requirement python-tk (from versions: none) ERROR: No matching ... More on stackoverflow.com
🌐 stackoverflow.com
Tkinter issue on macOS :(
I don't have first-hand experience with modern Apple hardware, but I suggest you try following this thread and run brew install python-tk@3.12 I don't believe you actually need 3.13, especially if you're planning to install packages on it because many aren't compatible yet. More on reddit.com
🌐 r/learnpython
3
1
November 14, 2024
python - How to install tkinter on M1 Mac - Stack Overflow
Apparently on MacOS' python, tkinter is not a built-in and can't be installed with pip. In order to install it you need either MacPorts or Homebrew. More on stackoverflow.com
🌐 stackoverflow.com
🌐
Python GUIs
pythonguis.com › installation › install tkinter on macos
How to Install Tkinter on macOS — Python GUI Setup Guide
3 weeks ago - Learn how to install Tkinter on macOS using Homebrew. This step-by-step guide walks you through installing Python 3 and Tkinter so you can start building Python GUI applications on your Mac.
🌐
GitHub
gist.github.com › txoof › 675e72d43f1bfbade04fdcec99ff4085
Setup python with tkinter under homebrew · GitHub
env \ PATH="$(brew --prefix tcl-tk)/bin:$PATH" \ LDFLAGS="-L$(brew --prefix tcl-tk)/lib" \ CPPFLAGS="-I$(brew --prefix tcl-tk)/include" \ PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" \ CFLAGS="-I$(brew --prefix tcl-tk)/include" \ PYTHON_CONFIGURE_OPTS="--enable-framework --with-tcltk-includes='-I$(brew --prefix tcl-tk)/include' --with-tcltk-libs='-L$(brew --prefix tcl-tk)/lib -ltcl8.6 -ltk8.6' " \ PYENV_DEBUG=1 \ pyenv install -v 3.8.5``` ... Thank you! I have been trying to get turtle to work on my mac, and this helped me get there.
🌐
TkDocs
tkdocs.com › tutorial › install.html
TkDocs Tutorial - Installing Tk
If you want to build Tkinter from Python source, there are four steps: install developer tools, install Tcl/Tk, build Python, and verify Tkinter. To install Apple's developer tools (compiler, etc.), open a Terminal and at the command line, run: ... Here, you have two good options: using the ...
🌐
Medium
medium.com › @xogk39 › install-tkinter-on-mac-pyenv-f112bd3f4663
Install tkinter on Mac. (pyenv). Install tcl-tk | by Taeha Hong | Medium
August 5, 2020 - ※ pyenv uninstall 3.6.9 ※ env \ PATH="$(brew --prefix tcl-tk)/bin:$PATH" \ LDFLAGS="-L$(brew --prefix tcl-tk)/lib" \ CPPFLAGS="-I$(brew --prefix tcl-tk)/include" \ PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" \ CFLAGS="-I$(brew --prefix tcl-tk)/include" \ PYTHON_CONFIGURE_OPTS="--with-tcltk-includes='-I$(brew --prefix tcl-tk)/include' --with-tcltk-libs='-L$(brew --prefix tcl-tk)/lib -ltcl8.6 -ltk8.6'" \ pyenv install 3.6.9 ... >>> import tkinter >>> tkinter.TclVersion, tkinter.TkVersion (8.6, 8.6) >>> tkinter._test() # You should get a GUI
🌐
TutorialsPoint
tutorialspoint.com › how-to-install-tkinter-in-python
How to install Tkinter in Python?
May 31, 2024 - Tkinter is typically included with Python installations by default. Use the import test to verify availability, and install using pip install tk or platform-specific package managers if needed.
Find elsewhere
🌐
Bohumirzamecnik
bohumirzamecnik.cz › blog › 2014 › install-tkinter-with-python-3-on-mac
How to install tkinter with Python 3 on Mac | Bohumír Zámečník
December 29, 2014 - Tkinter is an old GUI toolkit, that has been popular also in some Python projects. Sometimes it might be tricky to install. If you just can't get past ImportError: No module named '_tkinter', read on. We'll install it with Python 3.4 on Mac OX S Yosemite and macports.
🌐
MacPorts
ports.macports.org › port › py-tkinter
Install py-tkinter on macOS with MacPorts
py39-tkinter · Details Add to my watchlist 1 · Quick Links: About · Statistics FAQ · Git Repository · Documentation · API · Issues · MacPorts · MacPorts Home · Install MacPorts · MacPorts FAQ · MacPorts News ·
🌐
Python documentation
docs.python.org › 3 › library › tkinter.html
tkinter — Python interface to Tcl/Tk
February 23, 2026 - Both Tk and tkinter are available on most Unix platforms, including macOS, as well as on Windows systems. Running python -m tkinter from the command line should open a window demonstrating a simple Tk interface, letting you know that tkinter is properly installed on your system, and also showing what version of Tcl/Tk is installed, so you can read the Tcl/Tk documentation specific to that version.
🌐
YouTube
youtube.com › watch
How To Install Tkinter in Visual Studio Code (Mac) - YouTube
Let’s learn How To Install Tkinter in Visual Studio Code (VSCode). Tkinter is a way of creating graphical user interfaces (GUIs) in Python. GUIs allow us to ...
Published   June 26, 2022
🌐
Python
python.org › download › mac › tcltk
IDLE and tkinter with Tcl/Tk on macOS | Python.org
ActiveState provides binary distributions of Tcl/Tk which are upward compatible with and generally more up-to-date than those provided by Apple in macOS releases. This version of Tcl/Tk includes fixes for some critical problems that you may encounter using tkinter or IDLE (see Apple 8.5.9 below). You can download an installer for this release from the ActiveState web site.
🌐
Delft Stack
delftstack.com › home › howto › python tkinter › tkinter mac
Tkinter in macOS | Delft Stack
March 11, 2025 - pip install tk · This command installs the Tkinter package within your virtual environment. By following these steps, you have successfully set up a virtual environment on macOS and ensured that Tkinter is ready for your projects.
🌐
Rip Tutorial
riptutorial.com › installation or setup
tkinter Tutorial => Installation or Setup
Tkinter comes pre-installed with the Python installer binaries for Mac OS X and the Windows platform.
🌐
DEV Community
dev.to › doctorx › install-python-tkinter-on-macos-42kp
Install python tkinter on MacOS - DEV Community
December 26, 2022 - It is easy pisy when you know how it installs. The problem with google is a lot of wrong recipes on how to install on a Mac
🌐
Homebrew
discourse.brew.sh › t › python3-installation-with-tkinter › 3636
Python3 installation with tkinter - Homebrew
December 13, 2018 - I’m trying to use a package that depends on tkinter in python, and can’t get it to work. I run into the error “_tkinter” not found, and a suggestion my installation might not have been configured to use tkinter. This stackoverflow post suggested I should use the flags --with-tcl-tk, ...
🌐
Reddit
reddit.com › r/learnpython › tkinter issue on macos :(
r/learnpython on Reddit: Tkinter issue on macOS :(
November 14, 2024 -

Hello everyone,

I'm trying to tackle school coursework requiring me to use the Tkinter library. Initially, anything I would attempt to display would result in a black screen. After consulting with ChatGPT, and reinstalling python and tcl-tk via homebrew I now receive this error :

 ~ % python3 -m tkinter

   import _tkinter # If this fails your Python may not be configured for Tk

^^^^^^^^^^^^^^^

ModuleNotFoundError: No module named '_tkinter'

These are the versions of python I'm using :

~ % which python3

/opt/homebrew/bin/python3

~ % python3 --version

Python 3.13.0

brew install tcl-tk

Warning: tcl-tk 9.0.0_1 is already installed and up-to-date.

MAC OS : 15.0.1 (24A348)

If anyone has any suggestions on how I could solve this error please let me know.