There is an older post here reporting this error using an M1 MacOS machine. However, I'm using an intel mac and I'm seeing the same issue. I was able to fix the issue for myself by downgrading Anki from 2.1.54 to 2.1.49. So it appears to be caused by the Anki version rather than M1 Macs.
An add-on you installed failed to load. If problems persist, please go to the Tools>Add-ons menu, and disable or delete the add-on.
When loading 'Migaku Anki Add-on':
Traceback (most recent call last):
File "aqt.addons", line 244, in loadAddons
File "/Users/jacob/Library/Application Support/Anki2/addons21/1846879528/__init__.py", line 38, in <module>
from . import (
File "/Users/jacob/Library/Application Support/Anki2/addons21/1846879528/welcome_wizard.py", line 9, in <module>
from .global_hotkeys import HotkeyConfigWidget, hotkey_handler
File "/Users/jacob/Library/Application Support/Anki2/addons21/1846879528/global_hotkeys.py", line 4, in <module>
import pynput.keyboard
File "/Users/jacob/Library/Application Support/Anki2/addons21/1846879528/lib/shared/pynput/__init__.py", line 40, in <module>
from . import keyboard
File "/Users/jacob/Library/Application Support/Anki2/addons21/1846879528/lib/shared/pynput/keyboard/__init__.py", line 31, in <module>
backend = backend(__name__)
File "/Users/jacob/Library/Application Support/Anki2/addons21/1846879528/lib/shared/pynput/_util/__init__.py", line 77, in backend
raise ImportError('this platform is not supported: {}'.format(
ImportError: this platform is not supported: cannot import name '_objc' from partially initialized module 'objc' (most likely due to a circular import) (/Users/jacob/Library/Application Support/Anki2/addons21/1846879528/lib/macos/objc/__init__.py)
Try one of the following resolutions:
* Please make sure that you have Python bindings for the system frameworks installed