Py2Exe被检测为病毒。备择方案?

时间:2018-01-26 15:43:45

标签: windows computer-science py2exe malware virus

所以,我创建了一个python程序。使用Py2Exe转换为exe,并尝试使用PyInstaller和cx_freeze。所有这些触发程序被avast,avg和其他人在virustotal和我的本地机器上检测为病毒。

我尝试更改为Hello World脚本以查看问题是否存在,但结果完全相同。

我的问题是,是什么触发了这种检测? .exe的创建方式?

如果是这样,除了Py2exe,Pyinstaller,cx_freeze还有其他选择吗?

1 个答案:

答案 0 :(得分:0)

你可以试试nuitka。

pip install -U nuitka

示例:

nuitka --recurse-all --icon=app.ico --portable helloworld.py

网站:

http://nuitka.net/

也许您需要安装Visual C ++ 2015 Build Tools进行编译。

http://landinghub.visualstudio.com/visual-cpp-build-tools

相关问题