这个问题是由于环境变量改变或者Qt的路径改变导致,解决办法是在环境变量里面重新添加Qt路径。
系统环境
Win11 + PyQt
问题原文
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
WARNING: The scripts pylupdate5.exe, pyrcc5.exe and pyuic5.exe are installed in 'C:\Users\david\AppData\Roaming\Python\Python311\Scripts'