title: No tkinter package available
body: <p>While trying to import matplotlib on an RHEL Fedora system, I get this error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "generate_example_images.py", line 9, in &lt;module&gt;
      import matplotlib.pyplot as plt
    File "/usr/local/lib64/python2.7/site-packages/matplotlib/pyplot.py", line 115, in &lt;module&gt;
      _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
    File "/usr/local/lib64/python2.7/site-packages/matplotlib/backends/__init__.py", line 32, in pylab_setup
      globals(),locals(),[backend_name],0)
    File "/usr/local/lib64/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 6, in &lt;module&gt;
      from six.moves import tkinter as Tk
    File "/usr/lib/python2.7/dist-packages/six.py", line 194, in load_module
      mod = mod._resolve()
    File "/usr/lib/python2.7/dist-packages/six.py", line 108, in _resolve
      return _import_module(self.mod)
    File "/usr/lib/python2.7/dist-packages/six.py", line 79, in _import_module
      __import__(name)
  ImportError: No module named Tkinter
  </code></pre>
  
  <p>Another question at <a href="https://tkinter.unpythonic.net/wiki/How_to_install_Tkinter" rel="nofollow noreferrer">https://tkinter.unpythonic.net/wiki/How_to_install_Tkinter</a> says I can use the following:</p>
  
  <pre><code>yum install tkinter
  </code></pre>
  
  <p>This should install a tkinter package for python 2 and python3, however, I then get the error</p>
  
  <pre><code>Loaded plugins: priorities, update-motd, upgrade-helper
  amzn-main/latest                                 | 2.1 kB     00:00     
  amzn-updates/latest                              | 2.3 kB     00:00     
  No package tkinter available.
  Error: Nothing to do
  </code></pre>
  
  <p>when I look at the yum packages I also don't see a tkinter package so it makes sense I'm getting this error.</p>