Navigation

    Migaku Community

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    MacOS M1 - Anki Addon Startup Error

    Migaku Anki Addon
    5
    5
    333
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sdnii last edited by Bent

      when i load Migaku Addon 2.0 on Monterey 12.3.1, M1 Mac, Anki 2.1.5 Qt6 i get this error:
      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/name/Library/Application Support/Anki2/addons21/1846879528/init.py", line 33, in <module>
      from . import (
      File "/Users/name/Library/Application Support/Anki2/addons21/1846879528/welcome_wizard.py", line 9, in <module>
      from .global_hotkeys import HotkeyConfigWidget, hotkey_handler
      File "/Users/name/Library/Application Support/Anki2/addons21/1846879528/global_hotkeys.py", line 4, in <module>
      import pynput.keyboard
      File "/Users/name/Library/Application Support/Anki2/addons21/1846879528/lib/shared/pynput/init.py", line 40, in <module>
      from . import keyboard
      File "/Users/name/Library/Application Support/Anki2/addons21/1846879528/lib/shared/pynput/keyboard/init.py", line 31, in <module>
      backend = backend(name)
      File "/Users/name/Library/Application Support/Anki2/addons21/1846879528/lib/shared/pynput/_util/init.py", line 76, 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/name/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

      I'm using Version ⁨2.1.50 (26d40c3a)⁩
      Python 3.9.7 Qt 6.2.3 PyQt 6.2.3

      Bent 1 Reply Last reply Reply Quote 2
      • A
        Anon s9 last edited by

        Encountered the same error when trying to install the addon on mac (not M1), what helped is to use the Anki 2.1.49 version (dmg be found here), not the ideal solution but unblocks the usage of addon.

        @Bent if 100% reproducible for Mac on Anki >2.1.49, this could be a big issue for new first-time Mac users that will install the most recent version of Anki.

        1 Reply Last reply Reply Quote 2
        • D
          devninja89 @Bent last edited by

          @bent I also have this error on an intel iMac.
          Latest version of the addon direct downloaded from Migaku website.

          1 Reply Last reply Reply Quote 0
          • D
            drewpterry @Bent last edited by

            @bent I have the same error. Not on M1.

            Version ⁨2.1.53 (96bacf79)⁩
            Python 3.9.7 Qt 6.3.0 PyQt 6.3.0

            I'm pretty sure I'm using the latest version of the add-on since I added it to anki via code.

            Any help would be appreciated!

            1 Reply Last reply Reply Quote 0
            • Bent
              Bent @sdnii last edited by

              @sdnii Hey there! What version of the addon are you using? Have you tried it with the latest update?

              D D 2 Replies Last reply Reply Quote 0
              • First post
                Last post