PyQt5 Designer is not working: This application failed to start because no Qt platform plugin could be initialized(PyQt5 Designer 不工作:此应用程序无法启动,因为无法初始化 Qt 平台插件)
问题描述
我对 PyQt5 Designer 有疑问.我使用 -pip install PyQt5 安装 PyQt,然后 -pip install PyQt5-tools一切都好.但是当我尝试运行 Designer 时,它会打开消息框并显示错误:此应用程序无法启动,因为无法初始化 Qt 平台插件!怎么处理?
i have a problem with PyQt5 Designer. I install PyQt with -pip install PyQt5 and then -pip install PyQt5-tools everything OK. But when i try to run Designer it open messagebox with error: This application failed to start because no Qt platform plugin could be initialized! how to deal with it?
推荐答案
- 转到 =>Python38>lib>site-packages>PyQt5>Qt>插件
- 在插件复制平台文件夹中
- 然后转到Python38>lib>site-packages>PyQt5_tools>Qt>bin
- 在此处粘贴文件夹.复制和替换.
这肯定会奏效..现在您可以使用设计器工具 go 并用 python 做一些有趣的事情......
This will surely work.. Now you can use designer tool go and do some fun with python...
这篇关于PyQt5 Designer 不工作:此应用程序无法启动,因为无法初始化 Qt 平台插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:PyQt5 Designer 不工作:此应用程序无法启动,因为无法初始化 Qt 平台插件
基础教程推荐
- 在Python中从Azure BLOB存储中读取文件 2022-01-01
- 求两个直方图的卷积 2022-01-01
- 包装空间模型 2022-01-01
- PermissionError: pip 从 8.1.1 升级到 8.1.2 2022-01-01
- 使用大型矩阵时禁止 Pycharm 输出中的自动换行符 2022-01-01
- PANDA VALUE_COUNTS包含GROUP BY之前的所有值 2022-01-01
- 在同一图形上绘制Bokeh的烛台和音量条 2022-01-01
- 无法导入 Pytorch [WinError 126] 找不到指定的模块 2022-01-01
- 修改列表中的数据帧不起作用 2022-01-01
- Plotly:如何设置绘图图形的样式,使其不显示缺失日期的间隙? 2022-01-01
