1. 在终端执行下面代码时
pyinstaller -F --icon=strawberry.ico PyQt5_UI.py --noconsole
关于pyinstaller的参数选项可参考:用 Pyinstaller 模块将 Python 程序打包成 exe 文件
其中,
结果:报错:“无法成功完成操作,因为文件包含病毒或潜在的垃圾软件 。”
1. 在终端执行下面代码时
pyinstaller -F --icon=strawberry.ico PyQt5_UI.py --noconsole
关于pyinstaller的参数选项可参考:用 Pyinstaller 模块将 Python 程序打包成 exe 文件
其中,
结果:报错:“无法成功完成操作,因为文件包含病毒或潜在的垃圾软件 。”