title: Python 3.5.2 + PyQt5 to standalone exe
body: <p>I want to create a standalone <code>exe</code> containing <code>PyQt5</code>. I used <code>PyInstaller</code> and identified the folder where to find the <code>.dll</code> as follow:</p>
  
  <pre><code>pyinstaller --paths C:\...\Anaconda3\Library\bin --onefile --windowed test.py
  </code></pre>
  
  <p>The <code>exe</code> was created successfully and when I run the <code>exe</code>, the following error message appears:</p>
  
  <p><a href="https://i.stack.imgur.com/joEZM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/joEZM.png" alt="enter image description here"></a></p>
  
  <p>FYI, my configuration is the following:</p>
  
  <ul>
  <li><code>Anaconda3 4.2.0</code> with <code>Python 3.5.2</code> (by default <code>PyQt5</code> is installed via <code>Anaconda</code> so I never installed PyQt5 via a <code>pip install</code>. If I did that, a conflict appears and I can't use <code>PyQt5</code> anymore).</li>
  <li><code>Qt 3.0.1</code></li>
  <li><code>.dll</code> used have not been found in the usual folder (i.e. C:......\Anaconda3\Lib\site-packages\PyQt5) because I don't have a folder entitled "bin" in the folder <code>PyQt5</code>.</li>
  </ul>
  
  <p>Thank you</p>