问题:This application failed to start because no Qt platform plugin could be initialized. Reinstalling
•
Python

错误提示: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”下。
本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://net2asp.com/a30f8a67b2.html
