pyqt5配置后报错:qt.qpa.plugin: Could not find the Qt platform plugin “windows“ in ““
·
问题:
vscode中运行labelImg.py报错:
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.

解决:
在环境变量–>系统变量中添加以下内容:
变量名:QT_PLUGIN_PATH
变量值:Qt5中plugins文件夹的位置

重启VS之后可以正常运行

更多推荐
所有评论(0)