运行python labelimg.py时出现这个错误。 解决方法: step 1: 运行pyrcc5 -o resources.py resources.qrc step 2. 将生成的resources.py拷贝到同级的libs目录下