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?


Over 10,000 developers have bought Create GUI Applications with Python & Qt!
Create GUI Applications with Python & Qt5
Take a look

Downloadable ebook (PDF, ePub) & Complete Source code

Also available from Leanpub and Amazon Paperback

[[ discount.discount_pc ]]% OFF for the next [[ discount.duration ]] [[discount.description ]] with the code [[ discount.coupon_code ]]

Purchasing Power Parity

Developers in [[ country ]] get [[ discount.discount_pc ]]% OFF on all books & courses with code [[ discount.coupon_code ]]
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.