brew install python/matplotlib not working: No module named _tkinter
问题 I am struggling to make basic plots in matplotlib. It looks like I'm not installing tkinter correctly, which I understand should be installed from the --with-tcl-tk flag. What could be causing my error? How can I better diagnose this problem? Downloading the ActiveState tkinter has not helped me. I uninstalled then reinstalled everything I thought was relevant. No errors were raised by brew. $ brew uninstall python $ brew uninstall matplotlib numpy --force $ brew install python --with-tcl-tk