pyqt5打开designer提示This application failed to start because no Qt platform plugin could be initialized

最近在学习pyqt5时打开designer遇到问题,记录一下解决方法;
提示信息如下:

designer

This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.


确定

解决方式:
把PyQt5\Qt\plugins中platforms文件所有文件复制到pyqt5_tools\Qt\bin目录下,重新打开即可

你可能感兴趣的:(python)