I Have developed a application using python 3.6 and have built it as a exe using pyIntaller. The exe is blocked by many well know Anti Viruses as a trojan/virus. Form the past 2 days of research, I have figured out there is no way to resolve this problem. However are there any known best practices to be followed whcih can reduce the probability of the exe being blocked by AV. I know the best solution is to sent the exe to all the AV vendors and get it excluded, but this is not really help in my case, due to time factors and the release mechanism. So looking out for any support here. My application is build using the following python modules:
altgraph (0.15)
macholib (1.9)
matplotlib (2.1.2)
numpy (1.14.0)
pandas (0.22.0)
pefile (2017.11.5)
pyinstall (0.1.4)
PyInstaller (3.3.1)
pyparsing (2.2.0)
pypiwin32 (220)
PySide
python-dateutil (2.6.1)
pytz (2018.3)
sip (4.19.7)
six (1.11.0)
XlsxWriter (1.0.2)
In PyInstaller it is easy to create one exe, By default both create a bunch of exes & dlls. In py2exe its easier to embed manifest file in exe, useful for run as administrator mode in windows vista and beyond. Pyinstaller is modular and has a feature of hooks to include files in the build that you like.
Code compiled using pyinstaller or py2exe is often incorrectly to be malware or a virus or a trojan by various antivirus programs.
I have used pyinstaller for many projects and it is the easiest compiler. It is 100% safe and isn't the best, but it is again easy.
There are five alternatives to PyInstaller for Windows, Linux and Mac. The best alternative is nuitka, which is both free and Open Source. Other great apps like PyInstaller are py2exe, cx_Freeze, Shed Skin and bbfreeze.
You can give a try to py2exe module in python.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With