问题:

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之后可以正常运行
在这里插入图片描述

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐