Anki isn't running on macOS Tahoe

Hello, everyone. I’m having some trouble running the Anki app on macOS Tahoe (version 26.0 running on a M4). I’ve checked for other posts, but although they look similar none covers this specific problem on a macos.

I’m downloading the software from the web app, but I’ve also tried downloading it through ‘brew install --cask anki’ and the problem remains.

The software is downloaded, but every time I open and try to run it, I get this problem. It appears to be a path issue, but I couldn’t make it work by myself.

I confirm that Anki 25.09.2 does run fine on macOS 26.0 (Tahoe). But, I had Anki already installed. I haven’t attempted to perform a fresh installation.

I note that the error message looks similar to the one in: macOS arm64: Startup fails with SIGKILL due to platform mismatch with Intel Conda · Issue #4216 · ankitects/anki · GitHub

3 Likes

Unfortunately I’ve tried applying the fixes that worked for some people on the thread, but I was unable to make the app run. Even uninstalling conda and installing arm64 version didn’t work

Have you tried these threads too?

1 Like

1st link:

  • Removing the folder didn’t work - specifically, I’ve trying removing the /uv directory - but every time I launch Anki, it gets created again (and the error persists)
  • Python runs fine;
  • ➜  ~ file /Users/username/.local/share/uv/python/cpython-3.13.5-macos-aarch64-none/bin/python3.13
    /Users/username/.local/share/uv/python/cpython-3.13.5-macos-aarch64-none/bin/python3.13: Mach-O 64-bit executable arm64
    ➜  ~ shasum -a 256 /Users/username/.local/share/uv/python/cpython-3.13.5-macos-aarch64-none/bin/python3.13
    3e96a8b2f541b3d5ded271fb6e2bc83aea0557e863d0a4c472fd4679d1983fec  /Users/username/.local/share/uv/python/cpython-3.13.5-macos-aarch64-none/bin/python3.13] 
    
  • reproducing commands on terminal worked until here:
  • ➜  uv-aarch64-apple-darwin UV_PYTHON_INSTALL_DIR=python ./uv python install 3.13.5
    Installed Python 3.13.5 in 1.54s
     + cpython-3.13.5-macos-aarch64-none
    ➜  uv-aarch64-apple-darwin ./python/cpython-3.13.5-macos-aarch64-none/bin/python 
    [1]    7248 killed     ./python/cpython-3.13.5-macos-aarch64-none/bin/python
    
  • I also couldn’t install uv with pip:
  • ➜  ~ pip install uv
    error: externally-managed-environment
    
    × This environment is externally managed
    ╰─> To install Python packages system-wide, try brew install
        xyz, where xyz is the package you are trying to
        install.
        
        If you wish to install a Python library that isn't in Homebrew,
        use a virtual environment:
        
        python3 -m venv path/to/venv
        source path/to/venv/bin/activate
        python3 -m pip install xyz
        
        If you wish to install a Python application that isn't in Homebrew,
        it may be easiest to use 'pipx install xyz', which will manage a
        virtual environment for you. You can install pipx with
        
        brew install pipx
        
        You may restore the old behavior of pip by passing
        the '--break-system-packages' flag to pip, or by adding
        'break-system-packages = true' to your pip.conf file. The latter
        will permanently disable this error.
        
        If you disable this error, we STRONGLY recommend that you additionally
        pass the '--user' flag to pip, or set 'user = true' in your pip.conf
        file. Failure to do this can result in a broken Homebrew installation.
        
        Read more about this behavior here: <https://peps.python.org/pep-0668/>
    
    note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
    hint: See PEP 668 for the detailed specification.
    

2nd link:

  • Removing AnkiProgramFiles before launching it didn’t help, the error remains the same
  • > 
    
    Checking for updates...
    Unable to check for Anki versions. Please check your internet connection.
    
    Error: Failed to run (2): /Applications/Anki.app/Contents/MacOS/uv run --no-project --no-config --managed-python --with pip-system-certs,requests[socks] --python 3.13.5 /Applications/Anki.app/Contents/Resources/versions.py: warning: Failed to patch the install name of the dynamic library for /Users/username/.local/share/uv/python/cpython-3.13.5-macos-aarch64-none/bin/python3.13. This may cause issues when building Python native extensions.
    error: Querying Python at `/Users/username/.local/share/uv/python/cpython-3.13.5-macos-aarch64-none/bin/python3.13` failed with exit status signal: 9 (SIGKILL)
    
    Press enter to close...
    
  • ➜  ~ echo $PATH
    /Users/username/anaconda3/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/go/bin
    
  • Also tried reinstalling it through brew after forcifully removing the Application Support Files, but I still keep getting the same error.
  • ➜  ~ rm -Rf "~/Library/Application\ Support/AnkiProgramFiles"
    ➜  ~ brew reinstall anki
    
    
    
1 Like

What output do you get if you run this in Terminal?

which install_name_tool

According to this comment, you can try deactivating conda then launching Anki:

conda deactivate && /Applications/Anki.app/Contents/MacOS/launcher

The latest launcher is supposed to work around conda interfering with Anki but maybe that’s not working for all users.

It’s also worth checking for Xcode updates from System Settings > General > Software Update.

2 Likes

A fresh install on Tahoe works fine for me. The error you’re getting is something that I don’t think you’d see if you were using the 25.09 launcher.

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