I tried to use the matplotlib package via Pycharm IDE on windows 10.
when I run this code:
from matplotlib import pyplot
ImportError: No module named 'tkinter'
sudo apt-get install python3-tk
>> import tkinter # all fine
For Windows, I think the problem is you didn't install complete Python package. Since Tkinter should be shipped with Python out of box. See: http://www.tkdocs.com/tutorial/install.html
I suggest install ipython, which provides powerful shell and necessary packages as well.