ImportError: cannot import name 'QAction' from 'PyQt6.QtWidgets

Hi I’m getting the following error for one of my add ons
ImportError: cannot import name ‘QAction’ from 'PyQt6.QtWidgets

Is this to do with the add on or my anki?

The add-on may need to be updated to work on 23.10+. If you let us know which add-on is that maybe we can suggest a solution.

Also, if you’re importing from PyQt6 instead of aqt.qt, that’s not going to work on a Qt5 version of Anki.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.