Reputation: 19
I used PyInstaller to convert my Python program to an executable, but my friend’s computer thinks it is a virus, so they can’t run it as their computer is managed by their organization.
How can I distribute my Python program as a standalone EXE without a virus warning?
Upvotes: 1
Views: 835
Reputation: 502
PyInstaller due to its nature (unpacking executable files and running them) is likely to cause false positives with avirus software. To add to this Smartscreen and alike oftentimes just flag uncommon software (as in: software that is not being used by a lot of people such as a custom written program) as malware.
All in all you can't really easily solve this. You could perhaps distribute Python itself (which is signed and known to not be a virus) together with a batch-script so you don't have to convert your code to an executable, as this is likely to always cause issues.
Upvotes: 1