title: Error: "MSVCP90.dll: No such file or directory" even though Microsoft Visual C++ 2008 Redistributable Package is installed
body: <p>I'm trying to build a package from source by executing <code>python setup.py py2exe</code></p>
  
  <p>This is the section of code from setup.py, I suppose would be relevant:</p>
  
  <pre><code>if sys.platform == "win32": # For py2exe.
      import matplotlib
      sys.path.append("C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\redist\\x86\\Microsoft.VC90.CRT")
      base_path = ""
      data_files = [("Microsoft.VC90.CRT", glob.glob(r"C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT\*.*")),
  </code></pre>
  
  <p>Error it shows:</p>
  
  <pre><code>*** finding dlls needed ***
  error: MSVCP90.dll: No such file or directory
  </code></pre>
  
  <p><strong>But I've installed "Microsoft Visual C++ 2008 Redistributable Package".</strong> I'm running 32-bit python on 64-bit Windows 8. I'm trying to build a 32-bit binaries.</p>
  
  <p>Also there is no folder like this: "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\". This is what my computer contains:</p>
  
  <p><img src="https://i.stack.imgur.com/0A6SG.png" alt="enter image description here"></p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>On searching for <code>msvcp90.dll</code> on my C:\ drive I found that they are installed in weird paths like this:</p>
  
  <p><img src="https://i.stack.imgur.com/a1eD0.png" alt="enter image description here"></p>