可解決This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
- 安裝PyQt5
- 安裝PyQt5-tools
- 替換plugins檔案夾
安裝PyQt5
pip install PyQt5 -i http://pypi.douban.com/simple --trusted-host pypi.d
ouban.com
安裝PyQt5-tools
pip install PyQt5-tools -i http://pypi.douban.com/simple --trusted-host
pypi.douban.com
替換plugins檔案夾
将你python安裝路徑下的 Lib\site-packages\PyQt5\Qt 下面的plugins檔案夾複制到 Lib\site-packages\pyqt5_tools\Qt\bin 下面,然後輕按兩下designer.exe就可以正常打開程式了