title: Building minimal cython file with python 3.3 (Anaconda) under windows 7
body: <p>When I try to build a minimal Cython file test.pyx with Python 3.3 (Anaconda 3) under windows 7, I obtain a strange error:</p>
  
  <pre><code>C:\Users\myname\Test_cython&gt;python setup.py build
  running build
  running build_ext
  error: [WinError 2] The system cannot find the file specified
  </code></pre>
  
  <p>Of course test.pyx is in the working directory. It works fine under windows with Python 2.7 (Anaconda) and under Linux with Python 2 and 3. </p>
  
  <p>What could be the problem here with Python 3.3 (Anaconda 3)?</p>
  
  <p>Thanks</p>
  
  <p>The file setup.py:</p>
  
  <pre><code>from distutils.core import setup
  from distutils.extension import Extension
  from Cython.Distutils import build_ext
  
  setup(
      name = 'test',
      cmdclass = {"build_ext": build_ext},
      ext_modules = [Extension('test', ['test.pyx'])]
      )
  </code></pre>
  
  <p><strong>Solution:</strong></p>
  
  <p>I found that the line 404 of the file cygwinccompiler.py of the package disutils</p>
  
  <pre><code>out_string = check_output(['gcc', '-dumpmachine'])
  </code></pre>
  
  <p>has to be changed as</p>
  
  <pre><code>out_string = check_output(['gcc', '-dumpmachine'], shell=True)
  </code></pre>
  
  <p>Then, it compiles normally.</p>