title: Error loading Python lib with PyInstaller on MacOS
body: <p>I am trying to package some python into an executable on MacOS (10.14.5). I am able to create the executable, but executing the resulting <code>dist/hello_world</code> executable gives the following error:</p>
  
  <pre><code>[55240] Error loading Python lib '/var/folders/yh/6_6mb2y96kg0gnb_nh9r2zrr0000gp/T/_MEIwUMw4X/Python': dlopen: dlopen(/var/folders/yh/6_6mb2y96kg0gnb_nh9r2zrr0000gp/T/_MEIwUMw4X/Python, 10): no suitable image found.  Did find:
      /var/folders/yh/6_6mb2y96kg0gnb_nh9r2zrr0000gp/T/_MEIwUMw4X/Python: code signature invalid for '/var/folders/yh/6_6mb2y96kg0gnb_nh9r2zrr0000gp/T/_MEIwUMw4X/Python'
  </code></pre>
  
  <p>My machine is running Python 3.7.7 installed from using the Mac installer downloaded from <a href="https://www.python.org/" rel="noreferrer">https://www.python.org/</a></p>
  
  <p>For now, the script I am trying to package only contains <code>print('hello world!')</code> and the packaging command I am using is <code>pyinstaller -F hello_world.py</code></p>