Install tkinter on Mac. (pyenv). Install tcl-tk | by Taeha Hong | Medium

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

Source : Install tkinter on Mac. (pyenv). Install tcl-tk | by Taeha Hong | Medium