使用pyqt5的程序遇到了这个问题:
qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
之前的攻略都是配置环境变量,太麻烦了,尝试切换版本,成功不报错了!
pip install pyqt5==5.15.4