I recently spent couple hours making tkinter and IDLE work on my pyenv Python installation (macOS).
Why you are here?
- You manage Python versions with
pyenvon macOS and - ( You want IDLE - the development environment for Python - work on your macOS
- or you want
tkintermodule work )
What's wrong?
You get one of the following errors:
Python may not be configured for Tkonimport tkinterimport _tkinter # If this fails your Python may not be configured for TkRuntimeError: tk.h version (8.6) doesn't match libtk.a version (8.5)ModuleNotFoundError: No module named '_tkinter'

