title: cx_Freeze ImportError: DLL load failed failed while importing _ctypes: The specified module could not be found
body: <p>I compiled some Python scripts with cx_Freeze but compiled scripts giving me this error:</p>
  <p><a href="https://i.stack.imgur.com/uylQ2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uylQ2.png" alt="click to see error" /></a></p>
  <p><code>setup.py:</code></p>
  <pre><code>from cx_Freeze import setup, Executable
  
  executables = [
      Executable('USBAIO.py', base=&quot;Win32GUI&quot;, icon=&quot;Icons\\icon.ico&quot;),
      Executable('ui.py', base=&quot;Win32GUI&quot;, icon=&quot;Icons\\icon.ico&quot;),
      Executable(&quot;formatter.py&quot;, base=&quot;Win32GUI&quot;, icon=&quot;Icons\\cicon.ico&quot;),
      Executable(&quot;updater.py&quot;, base=&quot;Win32GUI&quot;, icon=&quot;Icons\\uicon.ico&quot;),
      Executable(&quot;permremove.py&quot;, base=&quot;Win32GUI&quot;, icon=&quot;Icons\\cicon.ico&quot;)
      ]
  
  Packages = [&quot;tkinter&quot;,&quot;functools&quot;, &quot;time&quot;, &quot;win32api&quot;,
                      &quot;threading&quot;, &quot;subprocess&quot;, &quot;psutil&quot;, &quot;os&quot;,
                      &quot;shutil&quot;, &quot;re&quot;, &quot;requests&quot;, &quot;sys&quot;, &quot;ctypes&quot;,
                      &quot;argparse&quot;, &quot;google_drive_downloader&quot;,
                      &quot;win32file&quot;, &quot;win32con&quot;
                      ]
  
  Include = [&quot;Icons&quot;, &quot;version.txt&quot;, &quot;icon.ico&quot;]
  
  setup(
      name=&quot;myapp&quot;,
      options={&quot;build_exe&quot;:{&quot;packages&quot;:Packages,&quot;include_files&quot;:Include}},
      description = &quot;myapp&quot;,
      executables = executables
  )
  
  </code></pre>
  <blockquote>
  <p>Python version: 3.8</p>
  <p>Windows: 8.1 Pro WMC</p>
  <p>cx_Freeze: 6.0b1</p>
  </blockquote>