title: py2exe error : KeyError: 'matplotlib.externals.six.moves' caused by skimage
body: <p>I am encountering problem with skimage (or scikit-image) and py2exe.</p>
  
  <p>I am using WinPython-64bit-3.4.4.1, with Windows 10.</p>
  
  <p>So here is my code : (I made it as simple as possible)</p>
  
  <p>test.py</p>
  
  <pre><code>from skimage import data, filters
  print("hello")
  </code></pre>
  
  <p>I enter this line in CMD :</p>
  
  <pre><code>py -m py2exe.build_exe test.py
  </code></pre>
  
  <p>(I tried to made a setup.py, but It change nothing)</p>
  
  <p>and the error is :</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\WinPython-64bit-3.4.4.1\python-3.4.4.amd64\lib\runpy.py", line 170, in _run_module_as_main
  "__main__", mod_spec)
    File "C:\WinPython-64bit-3.4.4.1\python-3.4.4.amd64\lib\runpy.py", line 85, in _run_code
  exec(code, run_globals)
  </code></pre>
  
  <p>... 130 more similar lines...</p>
  
  <pre><code>  File "C:\WinPython-64bit-3.4.4.1\python-3.4.4.amd64\lib\site-packages\py2exe\mf3.py", line 281, in _find_and_load
  self._gcd_import(parent)
    File "C:\WinPython-64bit-3.4.4.1\python-3.4.4.amd64\lib\site-packages\py2exe\mf3.py", line 267, in _gcd_import
  return self._find_and_load(name)
    File "C:\WinPython-64bit-3.4.4.1\python-3.4.4.amd64\lib\site-packages\py2exe\mf3.py", line 286, in _find_and_load
    parent_module = self.modules[parent]
  KeyError: 'matplotlib.externals.six.moves'
  </code></pre>
  
  <p>Before this error, I got a valueError: win32com.gen_py.<strong>loader</strong> is None, but I read somewhere that I just have to add this directory:
  [python directory]\Lib\site-packages\win32com\gen_py
  But since I add this directory, this error is gone.</p>
  
  <p>However, I have no idea how to solve my current error...
  I find someone who had a similar problem, but his solution was to execute py2exe in a virtual machine...</p>
  
  <p>Can you help me, please ?</p>