Virus warnings after trying to run .py program converted to an .exe file
This is a known issues and could be various reasons which makes your Virus Program think this is a virus.Check this out: https://github.com/pyinstaller/pyinstaller/issues/603
For now, your only other option would be to try out other converters like py2exe.Each have their own pros and cons, you can refer: https://docs.python-guide.org/shipping/freezing/ for a beautiful comparison of them all.
Use the jar method
Basically, instead of converting your .py file(s) into an exe file, you instead convert it into a jar file.
Follow this answer:
https://stackoverflow.com/a/1255113/7123519
or
https://wiki.python.org/jython/JythonFaq/DistributingJythonScripts