title: py2exe `ImportError: No module named backend_tkagg`
body: <p>I am trying to make a windows executable from a python script that uses matplotlib and it seems that I am getting a common error.</p>
  
  <blockquote>
    <p>File "run.py", line 29, in 
        import matplotlib.pyplot as plt   File "matplotlib\pyplot.pyc", line 95, in    File "matplotlib\backends__init__.pyc", line
    25, in pylab_setup ImportError: No module named backend_tkagg</p>
  </blockquote>
  
  <p>The problem is that I didn't found a solution while googling all over the internet.</p>
  
  <p>Here is my <code>setup.py</code></p>
  
  <pre><code>from distutils.core import setup
  import matplotlib
  import py2exe 
  matplotlib.use('TkAgg')
  setup(data_files=matplotlib.get_py2exe_datafiles(),console=['run.py'])
  </code></pre>