PyQt5 Designer 不工作:此应用程序无法启动,因为无法初始化 Qt 平台插件
- 作者: 嗫?暁雲?
- 来源: 51数据库
- 2022-12-19
问题描述
我对 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...
推荐阅读
热点文章
Discord.py(重写)on_member_update 无法正常工作
0
Discord.py 在 vc 中获取用户分钟数
0
discord.py 重写 |为我的命令出错
0
Discord.py rewrite 如何 DM 命令?
0
播放音频时,最后一部分被切断.如何解决这个问题?(discord.py)
0
在消息删除消息 Discord.py
0
如何使 discord.py 机器人私人/直接消息不是作者的人?
0
(Discord.py) 如何获取整个嵌入内容?
0
Discord bot 尽管获得了许可,但不能提及所有人
0
Discord.py discord.NotFound 异常
0
