title: Create executable with python 3.7 PyQt5 and cx_Freeze but DLL Failed to load
body: <p>I developed a "not so simple" GUI with PyQt5 via Anaconda 3 (Python 3.7) and Designer.
  I have 3 different .ui files that I import in my program.</p>
  
  <p>When I run cx_Freeze, everything runs good, I create the .exe. Then, I copy the "platform" folder from my "Python" folder in the "Build" folder that cx_Freeze creates.</p>
  
  <p>BUT, when I pass it to an other machine without anything on it (no anaconda, no python, no cx_Freeze, nothing), the app doesn't run. I get:</p>
  
  <pre><code>ImportError: DLL load failed: The specified module could not be found
  </code></pre>
  
  <p>It happens in the 10th line of my code which is:</p>
  
  <pre><code>from PyQt5 import QtGui, QtWidgets
  </code></pre>
  
  <p>The imports in my code are:</p>
  
  <pre><code>from PyQt5 import QtGui, QtWidgets
  import sys
  import glob
  import datetime
  from matplotlib.backends.qt_compat import QtCore, QtWidgets
  from matplotlib.backends.backend_qt5agg import FigureCanvas
  from matplotlib.figure import Figure
  import numpy as np
  import smtplib
  
  from email.mime.multipart import MIMEMultipart
  from email.mime.text import MIMEText
  
  import design
  import flex
  import entry
  </code></pre>
  
  <p><code>design</code>, <code>flex</code> and <code>entry</code> are the .ui files. They all contain this part at the end (don't know if it helps):</p>
  
  <pre><code>if __name__ == "__main__":
      import sys
      app = QtWidgets.QApplication(sys.argv)
      Dialog = QtWidgets.QDialog()
      ui = Ui_Dialog()
      ui.setupUi(Dialog)
      Dialog.show()
      sys.exit(app.exec_())
  </code></pre>
  
  <p>And finally, the setup file I run with cx_Freeze:</p>
  
  <pre><code>import sys
  from cx_Freeze import setup, Executable
  import matplotlib
  import numpy
  
  
  # Dependencies are automatically detected, but it might need fine tuning.
  build_exe_options = {"packages": ["os", "matplotlib"], "includes": ["PyQt5", "atexit"], "excludes": ["tkinter"]}
  
  # GUI applications require a different base on Windows (the default is for a
  # console application).
  base = None
  if sys.platform == "win32":
      base = "Win32GUI"
  
  setup(  name = "Flexicounts",
          version = "0.1",
          description = "Flexicounts pour faire tes comptes facilement",
          options = {"build_exe": build_exe_options},
          executables = [Executable("flexicounts.py", base=base)])
  </code></pre>
  
  <p>I read a lot about it, but I feel that there is no "miracle" solution...</p>
  
  <p>Could you help me freeze my app and make it run on a "virgin machine" ?</p>