title: How do I use cx_freeze or py2exe, with xlwings, numpy
body: <p>I'm using xlwings and when I want to run my <code>freezed</code> by <code>cx_Freeze</code> script I have the error below:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\D\Anaconda\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in &lt;module&gt;
      exec(code, m.__dict__)
    File "prueba.py", line 1, in &lt;module&gt;
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 2237, in _find_and_load
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 2226, in _find_and_load_unlocked
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 1191, in _load_unlocked
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 1161, in _load_backward_compatible
    File "C:\Users\D\Anaconda\lib\site-packages\numpy\__init__.py", line 206, in &lt;module&gt;
      from . import ma
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 2284, in _handle_fromlist
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 321, in _call_with_frames_removed
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 2237, in _find_and_load
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 2226, in _find_and_load_unlocked
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 1191, in _load_unlocked
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 1161, in _load_backward_compatible
    File "C:\Users\D\Anaconda\lib\site-packages\numpy\ma\__init__.py", line 49, in &lt;module&gt;
      from . import extras
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 2284, in _handle_fromlist
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 321, in _call_with_frames_removed
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 2237, in _find_and_load
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 2226, in _find_and_load_unlocked
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 1191, in _load_unlocked
    File "c:\Python\64-bit\3.4\lib\importlib\_bootstrap.py", line 1161, in _load_backward_compatible
    File "C:\Users\D\Anaconda\lib\site-packages\numpy\ma\extras.py", line 438, in &lt;module&gt;
      :np.apply_over_axes.__doc__.find('Notes')].rstrip() + \
  AttributeError: 'NoneType' object has no attribute 'find'
  </code></pre>
  
  <p>My <code>setup.py</code> file looks like this:</p>
  
  <pre><code>from cx_Freeze import setup, Executable
  build_exe_options = {'packages': ['win32com', 'xlwings'],
                       'optimize': 2}
  setup(name = 'prueba',
        version = '0.1.0',
        options = {'build_exe': build_exe_options},
        executables = [Executable('prueba.py')])
  </code></pre>
  
  <p>I've read about the problems with numpy&amp;cx_Frezze so I've also tried to freeze python to exe with <code>py2exe</code>. </p>
  
  <p>And here there is another problem... When I want to run it in excel there is no response and no change.</p>