module 'qtpy.QtGui' has no attribute 'QGuiApplication'

在用labelme标注数据时产生报错:

app.py", line 1337, in openNextImg
if
QtGui.QGuiApplication.keyboardModifiers() == AttributeError: module qtpy.QtGui has no attribute QGuiApplication

找到报错的文件将该行代码改为:

if QtCore.Qt.KeyboardModifiers() == \

即可解决问题

module 'qtpy.QtGui' has no attribute 'QGuiApplication'

上一篇:Appium(五):Desired Capabilities


下一篇:【转帖】H5 手机 App 开发入门:概念篇