title: Security issues downloading application for MacOS - "library load disallowed by system policy"
body: <p>I recently created an application using Pyinstaller, and have bundled it correctly. It theoretically should be able to work on other macbooks now. However, I have tried zipping the application, storing it on Google Drive, and then downloading and running it on my own and other macbooks. I have hit a security issue:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;_pyinstaller_hooks_contrib/hooks/rthooks/pyi_rth_certifi.py&quot;, line 13, in &lt;module&gt;
    File &quot;PyInstaller/loader/pyimod03_importers.py&quot;, line 531, in exec_module
    File &quot;ssl.py&quot;, line 98, in &lt;module&gt;
  ImportError: dlopen(/Users/a/Downloads/main/_ssl.cpython-37m-darwin.so, 2): no suitable image found.  Did find:
      /Users/a/Downloads/main/_ssl.cpython-37m-darwin.so: code signature in (/Users/a/Downloads/main/_ssl.cpython-37m-darwin.so) not valid for use in process using Library Validation: library load disallowed by system policy
  [50024] Failed to execute script pyi_rth_certifi
  </code></pre>
  <p>Any ideas on how to overcome this would be really appreciated! Thank you.</p>