Hello. I installed tcl-tk and tried running Tkinter in Python. There is also an article "When import tkinter is not possible with Mac OS X 10.11.3 (El Capitan) + pyenv + Python 3.5.1".
$ brew install tcl-tk
$ brew install python --with-tcl-tk
$ python -c "import Tkinter; print Tkinter.__version__"
$Revision: 81008 $
$
$ brew install python3 --with-tcl-tk
$ python3 -c "import Tkinter; print(Tkinter.__version__)"
$Revision: 81008 $
Recommended Posts