Problems with antivirus software and PyInstaller

Heads up! You've already completed this tutorial.

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.

More info Get the book

Well done, you've finished this tutorial! Mark As Complete
[[ user.completed.length ]] completed [[ user.streak+1 ]] day streak

Problems with antivirus software and PyInstaller was written by Martin Fitzpatrick .

Martin Fitzpatrick has been developing Python/Qt apps for 8 years. Building desktop applications to make data-analysis tools more user-friendly, Python was the obvious choice. Starting with Tk, later moving to wxWidgets and finally adopting PyQt.