解决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 the application may fix this problem.Windows pyqt打开designer.exe报错报错信息This application failed to star
文章共341字 · 阅读需要大约2分钟
一键AI生成摘要,助你高效阅读
问答
·
解决This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Windows pyqt打开designer.exe报错
报错信息
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
解决办法
替换两个文件
cd ..\Python\Lib\site-packages\pyqt5_tools\Qt\plugins\platforms
复制上图中的两个文件到
cd ..\Python\Lib\site-packages\pyqt5_tools\Qt\bin\platforms
将将原有文件重命名 - ,放置新文件
再次打开designer.exe,问题决了
安装pyqt5
pip install PyQt5 -i https://pypi.douban.com/simple
安装qt工具
pip install PyQt5-tools -i https://pypi.douban.com/simple
欢迎大家交流学习,任何问题都可以留言
更多推荐
已为社区贡献2条内容
所有评论(0)