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

When the error is generated annotation data labelme:

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

Find an error in the file line of code to read:

if QtCore.Qt.KeyboardModifiers() == \

You can solve the problem

Guess you like

Origin www.cnblogs.com/TomJin/p/12020049.html