Python3.8.3 Qt Designer 提示This application failed to start because no qt platform plugin could be

全部uninstall python3.8.3 再重装还是不行,  终于找到办法, 参考: https://blog.csdn.net/calmreason/article/details/104851565 

我的python安装在 e:\python3.8, 把 E:\Python3.8\Lib\site-packages\pyqt5_tools\Qt\bin\platforms 这个目录里的qwindows.dll改名old_qwindows.dll, 或直接删除, 

把 E:\Python3.8\Lib\site-packages\pyqt5_tools\Qt\plugins\platforms 目录的qwindows.dll拷贝到

    E:\Python3.8\Lib\site-packages\pyqt5_tools\Qt\bin\platforms 目录里, 或者直接覆盖原来的文件. qminimal.dll可以不用拷贝

点击: E:\Python3.8\Lib\site-packages\pyqt5_tools\Qt\bin\designer.exe, 正常启动. 

两个文件, 正确的文件大小 1.42M, 错误文件大小38k.  

我的安装环境:win10中文版 ,  python是直接下载安装python-3.8.3-amd64.exe, 没有装Anaconda . 

 

 

评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值