title: python ImportError: No module named Tkinter
body: <p>Every time I tried to run <code>import matplotlib</code>,
  I have error <code>ImportError: No module named Tkinter</code>.</p>
  <p>The output result is as listed below:</p>
  <pre><code>Python 2.7.5 (default, Aug  2 2016, 04:20:16) 
  [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2
  Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
  &gt;&gt;&gt; import matplotlib.pyplot as plt
  Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py&quot;, line 115, in &lt;module&gt;
  _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
  File &quot;/usr/lib64/python2.7/site-packages/matplotlib/backends/__init__.py&quot;, line 32, in pylab_setup
  globals(),locals(),[backend_name],0)
  File &quot;/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_tkagg.py&quot;, line 6, in &lt;module&gt;
  from six.moves import tkinter as Tk
  File &quot;/usr/lib/python2.7/site-packages/six.py&quot;, line 203, in load_module
  mod = mod._resolve()
  File &quot;/usr/lib/python2.7/site-packages/six.py&quot;, line 115, in _resolve
  return _import_module(self.mod)
  File &quot;/usr/lib/python2.7/site-packages/six.py&quot;, line 82, in _import_module
  __import__(name)
  ImportError: No module named Tkinter
  </code></pre>
  <p>I tried to install the <code>tk.x86_64</code> and <code>tk-devel.x86_64</code> packages, and tried to reinstall the python package but the error still appeared.
  Also I tried to <code>import Tkinter</code> but I got the following error.</p>
  <pre><code>Python 2.7.5 (default, Aug  2 2016, 04:20:16) 
  [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2
  Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
  &gt;&gt;&gt; import Tkinter
  Traceback (most recent call last):
    File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  ImportError: No module named Tkinter
  </code></pre>
  <p>Does anyone have a workaround for this error?</p>