Virginia | 2021-05-01 20:45:45 UTC | #1
When I bundle my apps with PyInstaller, and in some cases Py2exe, antivirus software does not allow me to run the .exe files anymore. Crowdstrike prevents it from being opened, and Windows Defender flags it as malicious unless I specifically allow it. This appears to be due to some bad actors using PyInstaller to bundle malicious code. Do you have any suggestions for how to get around this issue? Is there another way to turn a Python program into an .exe file that will NOT be flagged by antivirus software?
Packaging Python Applications with PyInstaller by Martin Fitzpatrick — This step-by-step guide walks you through packaging your own Python applications from simple examples to complete installers and signed executables.