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 平台插件


- ";find_element_by_name(';name';)";和&QOOT;FIND_ELEMENT(BY NAME,';NAME';)";之间有什么区别? 2022-01-01
- CTR 中的 AES 如何用于 Python 和 PyCrypto? 2022-01-01
- 我如何透明地重定向一个Python导入? 2022-01-01
- 我如何卸载 PyTorch? 2022-01-01
- 使用 Cython 将 Python 链接到共享库 2022-01-01
- 计算测试数量的Python单元测试 2022-01-01
- 检查具有纬度和经度的地理点是否在 shapefile 中 2022-01-01
- YouTube API v3 返回截断的观看记录 2022-01-01
- 如何使用PYSPARK从Spark获得批次行 2022-01-01
- 使用公司代理使Python3.x Slack(松弛客户端) 2022-01-01