Locate the addon files. For Windows, they are located in:
C:\Users\%USERNAME%\AppData\Roaming\Anki2\addons21\932119536
(%USERNAME% is the name of your Windows user account)
Open the "nhk_pronunciation.py" file in a text editor and change line 14 so that instead of "PyQt5" it says "PyQt6":
old: from PyQt5.QtWidgets import
new: from PyQt6.QtWidgets import
Fix from the comments section:
Locate the addon files. For Windows, they are located in: C:\Users\%USERNAME%\AppData\Roaming\Anki2\addons21\932119536 (%USERNAME% is the name of your Windows user account)
Open the "nhk_pronunciation.py" file in a text editor and change line 14 so that instead of "PyQt5" it says "PyQt6": old: from PyQt5.QtWidgets import new: from PyQt6.QtWidgets import