title: PyInstaller - No module named 'codecs'
body: <p>My script literally looks like this (Python 3.5):</p>
  
  <pre><code>print("Hello world")
  </code></pre>
  
  <p>Building it with PyInstaller (version 3.5 I guess?) (<code>pyinstaller --onefile test.py</code> or even <code>pyinstaller test.py</code>) results in an error:</p>
  
  <pre><code>Fatal Python error: Py_Initialize: unable to load the file system codec
  Traceback (most recent call last):
    File "encodings\__init__.py", line 31, in (module)
  ImportError: No module named 'codecs'.
  </code></pre>
  
  <p>I'm kinda new to Python, so I don't know what could be causing the problem nor do I know how to fix it. Any ideas?</p>