安装PyQt5并解决This application failed to start because it could not find or load the Qt platform plugin"

安装PyQt5

1、使用命令:pip install python-qt5
2、安装完成后可以在%python%\Lib\site-packages\PyQt5目录下找到designer.exe文件,即可正常编辑

注意

如果启动后弹出This application failed to start because it could not find or load the Qt platform plugin "windows"错误,可以进入plugins目录,将platforms目录粘贴至与desinger.exe文件同级即可解决。
安装PyQt5并解决This application failed to start because it could not find or load the Qt platform plugin"