title: Nuitka - convert Python to C: Cannot locate suitable C Compiler
body: <p>I am having issues with Nuitka; trying to convert python to c language, I get the following error;</p>
  
  <blockquote>
    <p>Error, cannot locate suitable C compiler. You have the following
    options:</p>
    
    <p>a) If a suitable Visual Studio version is installed, it will not be
    located    automatically, unless you install pywin32 for the Python
    installation    below "C:\Program Files (x86)\Microsoft Visual
    Studio\Shared\Python36_86".</p>
    
    <p>b) To make it find Visual Studio without registry execute from Start
    Menu    the 'Visual Studio Command Prompt' or "vcvarsall.bat". That
    will add    Visual Studio to the "PATH". And it then will be detected.</p>
    
    <p>c) Install MinGW64 to "C:\MinGW64" or "\MinGW", where then it is
    automatically    detected or add it to PATH before executing Nuitka.
    But be sure to pick the    proper variant (32/64 bits, your Python
    arch is 'x86'), or else cryptic errors    will be shown.</p>
    
    <p>Normal MinGW will not work! MinGW64 does not mean 64 bits, just better
    Windows compatibility. Cygwin based gcc will not work. MSYS2 based gcc
    will not work. clang-cl will only work if MSVC already worked.</p>
  </blockquote>
  
  <p>I did the following;</p>
  
  <ul>
  <li>pip install pywin32 and it has already been satisfied (installed under site packages)</li>
  <li>installed MinGW64 from win-builds program on their website (tried both 64 and 32 bit versions)
  
  <ul>
  <li>checking version via cmd: <code>i686-w64-mingw32-gcc --version</code> I get the following error;</li>
  </ul></li>
  </ul>
  
  <p>Error:</p>
  
  <blockquote>
    <p>The code execution cannot proceed because libiconv.dll was not found.
    Reinstalling the program may fix this problem</p>
  </blockquote>
  
  <p>After adding libiconv.dll to file location manually; I get the following error;</p>
  
  <p>Error:</p>
  
  <blockquote>
    <p>The application was unable to start correctly (0xc000007b).</p>
  </blockquote>
  
  <ul>
  <li>I also tried running as admin and get same issue.</li>
  </ul>
  
  <p>I am obviously not doing something right, can anyone help me get MinGW64 installed correctly or fix the issue with other options?</p>