title: "ImportError: DLL load failed" SciPy and cx_freeze don't work together
body: <p>It seems that <code>SciPy</code> and <code>cx_freeze</code> don't work together and is a known issue (<a href="https://bitbucket.org/anthony_tuininga/cx_freeze/issue/43/import-errors-when-using-cx_freeze-with" rel="nofollow">https://bitbucket.org/anthony_tuininga/cx_freeze/issue/43/import-errors-when-using-cx_freeze-with</a>). When I remove the <code>import scipy</code> then my code runs well.</p>
  
  <p>I have researched here and few other websites and installed Dependency Walker. It says <code>ieshims.dll</code> is missing. I have installed <code>ieshims.dll</code>. I have installed all other <code>.dll</code> files. Now my console window gives me error as:</p>
  
  <pre><code>Traceback (most recent call last):
    File "PyMoss.py", line 13, in &lt;module&gt;
    File "C:\Python33\lib\site-packages\scipy\optimize\__init__.py", line 163, in &lt;module&gt;
      from .optimize import *
    File "C:\Python33\lib\site-packages\scipy\optimize\optimize.py", line 35, in &lt;module&gt;
      from .linesearch import (line_search_wolfe1, line_search_wolfe2,
    File "C:\Python33\lib\site-packages\scipy\optimize\linesearch.py", line 16, in &lt;module&gt;
      from scipy.optimize import minpack2
    File "&lt;loader&gt;", line 10, in &lt;module&gt;
    File "&lt;loader&gt;", line 8, in __load
  ImportError: (DLL load failed: The specified module could not be found.)  
    'C:\\Python33\\dist\\scipy.optimize.minpack2.pyd'
  </code></pre>
  
  <p>I can see <code>scipy.optimize.minpack2.pyd</code> in my build folder but yet generates such error. Please help me out as I am able to run <code>SciPy</code> function in Python IDLE while I am unable to run the same function with <code>cx_freeze</code> or <code>py2exe</code></p>
  
  <p>Thanks in Advance</p>