title: Could not find the matplotlib data files
body: <p>I am new to python and I am trying to create an .exe from py script with pyinstaller but I get this error when trying to run the .exe: Could not find the matplotlib data files.
  When i run the script in python idle i dont get this error.</p>
  <p>I've tried:</p>
  <pre><code> import matplotlib
     setup(
          data_files=matplotlib.get_py2exe_datafiles(),
     )
  </code></pre>
  <p>But i get an error saying that setup is not defined.</p>
  <p><img src="https://i.stack.imgur.com/rjxnt.png" alt="" /></p>