简体   繁体   English

Pyinstaller Qt5应用程序无法在Windows 10中启动

[英]Pyinstaller Qt5 Application won't start in Windows 10

I have created a Python program with Qt5 GUI and compiled an .exe with PyInstaller. 我已经使用Qt5 GUI创建了Python程序,并使用PyInstaller编译了.exe。 It works fine on most PCs, but on some the compiled .exe wont start at all. 它在大多数PC上都能正常工作,但在某些已编译的.exe上根本无法启动。 No error message, no process in taskmanager, no entry in system protocol. 没有错误消息,taskmanager中没有进程,系统协议中没有条目。 I uninstalled anti virus program and disabled windows defender, still the same. 我卸载了防病毒程序并禁用了Windows Defender,仍然相同。 The funny thing is, that when I open a command prompt and start the .exe from within the command prompt it works as it should. 有趣的是,当我打开命令提示符并从命令提示符中启动.exe时,它应能正常工作。 But it does not when double clicking the .exe from within windows explorer. 但是从Windows资源管理器中双击.exe时不会。 The Windows OS is Windows 10. Windows操作系统是Windows 10。

Any suggestions or somebody had same/similar issue? 有什么建议或有人有相同/相似的问题吗?

Regards David 问候大卫

EDIT: Windows UAC was the problem: when turend completely off the application does not start. 编辑:Windows UAC是问题:当涡流完全关闭时,应用程序无法启动。

Windows UAC就是问题所在:当涡流完全关闭时,应用程序无法启动。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM