title: Pyinstaller - Error loading Python DLL - FormatMessageW failed
body: <p>I compiled my <code>.py</code> file running following commands:</p>
  
  <pre><code>pyinstaller myfile.py --onefile.
  </code></pre>
  
  <p>When i run it on my <code>pc(Windows 10)</code> everything works just fine. </p>
  
  <p>When i try to run it on my `virtual machine(Windows 8).</p>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>Error loading Python DLL
    'C:\Users\MyUsername\Appdata\Local\Temp\NUMBERS\python36.dll'
    LoadLibrary: PyInstaller: FormatMessageW failed.</p>
  </blockquote>
  
  <p>I already googled the error and i found many solutions but none of them worked..</p>
  
  <p>//UPDATE:
  If i compile it with my virtual machine, everything runs fine on the virtual machine, main pc and even on my windows server.. strange.. so it must be a problem with my main pc.</p>
  
  <p>Kind Regards</p>