title: PyInstaller: “ImportError: No module named htmlentitydefs”
body: <p>I made the executable with pyinstaller like this (no --onefile or other options)</p>
  
  <pre><code>&gt; pyinstaller brdg2.py
  </code></pre>
  
  <p>When i run it, <a href="http://i.imgur.com/pfOZM6M.png" rel="noreferrer">here's what i get</a>
  (screenshot of the command prompt before it closed).</p>
  
  <p>From other threads, the warning at the start seem to be ignorable, so the problem would be </p>
  
  <pre><code>ImportError: No module named htmlentitydefs
  </code></pre>
  
  <p><strong>Edit:</strong> I get <a href="http://i.imgur.com/bFbvlqF.png" rel="noreferrer">the same</a> <em>ImportError</em> with an .exe created with cx_freeze, so it doesn't seem related to the packaging programm.</p>
  
  <p>Also to add some information i had just reinstalled Python and the necessary modules, and i didn't get this error when doing the same operations before (i did get other errors though).</p>