问题:
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之后可以正常运行

本文解决了一个在VSCode中运行LabelImg.py时出现的qt.qpa.plugin错误问题,通过设置环境变量QT_PLUGIN_PATH指向Qt5的plugins文件夹位置来解决此问题。
4368

被折叠的 条评论
为什么被折叠?



