当前位置:
首页 >
行业知识 >
问题:This application failed to start because no Qt platform plugin could be initialized. Reinstalling
行业知识
问题:This application failed to start because no Qt platform plugin could be initialized. Reinstalling
2026-11-22 03:03:52
来源:互联网转载
错误提示:This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
翻译:此应用程序无法启动,因为无法初始化任何Qt平台插件。重新安装应用程序可以解决此问题。
解决办法:从"Python\Python311\Lib\site-packages"中,把"PyQt5"和"pyqt5_plugins"两个文件夹复制到Python\Python311\Lib安装目录下。
���如:
从"C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages"把“PyQt5”文件夹、“pyqt5_plugins”文件夹复制到"C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib"下。
【备注】有的同学反馈说上述方法不奏效,其实笔者也不知道原因。但你们:一要检查好你们的文件路径地址,二要检查是否已正确安排PyQt5,三要检查好编辑软件的环境变量。祝你们顺利!
上一篇:戴尔服务器怎么操作系统?
下一篇:电脑主机独立显示卡怎么插