所以,我创建了一个python程序。使用 Py2Exe 转换为 exe,并尝试使用 PyInstaller 和 cx_freeze 。所有这些都会触发程序在virustotal 和我的本地计算机上被avast、avg 和其他程序检测为病毒。
我尝试更改为 Hello World 脚本来查看问题是否存在,但结果完全相同。
我的问题是,是什么触发了此检测? .exe 是如何创建的?
如果是这样,还有 Py2exe、Pyinstaller、cx_freeze 的其他替代品吗?
你可以试试努特卡。
pip install -U nuitka
Example:
nuitka --recurse-all --icon=app.ico --portable helloworld.py
Website:
http://nuitka.net/ http://nuitka.net/
也许您需要安装 Visual C++ 2015 Build Tools 进行编译。
http://landinghub.visualstudio.com/visual-cpp-build-tools http://landinghub.visualstudio.com/visual-cpp-build-tools
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)