Pip install aqt leads to x86 architecture error upon import

I’m trying to get started developing plugins for anki on my x86 Mac. I created a clean conda env with python 3.9, and ran python3 -m pip install aqt which seemed go to fine, but when I import aqt I get

(anki) [~] python3
Python 3.9.19 (main, Mar 21 2024, 12:08:14)
[Clang 14.0.6 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import aqt
macos_helper: dlopen(.../miniconda3/envs/anki/lib/python3.9/site-packages/_aqt/data/lib/libankihelper.dylib, 0x0006): tried: '.../miniconda3/envs/anki/lib/python3.9/site-packages/_aqt/data/lib/libankihelper.dylib' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64h)))

Has anyone encountered this? Is there not an x86 version? I’m sure there must be…?

That’s only a warning, and will only affect Anki’s ability to detect if dark/light mode has changed.

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