Cannot open Anki app after update (SIGKILL)

Hi I need help. I have a macbook and I tried updating my anki today after months of not using it. After the download, I was unable to open the app and it automatically opens “terminal” with an error message. I tried troubleshooting by opening it in “safe mode” and still did not work. Tried uninstalling and reinstalling, still same issue. This is what pops up in terminal for anki launcher. (btw I am connected to wifi when this happens)

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 --python 3.13.5 /Applications/Anki.app/Contents/Resources/versions.py: warning: Failed to patch the install name of the dynamic library for /Users/.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/.local/share/uv/python/cpython-3.13.5-macos-aarch64-none/bin/python3.13` failed with exit status signal: 9 (SIGKILL)

Please help as I don’t know what to do next. Thanks!

Did you check your internet connection? Ah, okay you are. You should also check VPN, firewalls, proxy, etc.

See also:

Do you use (Ana)conda? Does manually removing your AnkiProgramFiles folder before running Anki help? Managing Files - Anki Manual

1 Like

I posted in another thread as well, but on my M1 2020 MBP, Sequoia 15.6, Anki breaks for me when I go from 25.02.7 to 25.07. Above you ask “Do you use (Ana)conda?” Ummm…how would I know that? (Manually removing my AnkiProgramFiles folder does not fix the problem, although it does cause Anki to redownload stuff, but then it still doesn’t run.)

It’s probably best for you to stick with 25.02.7 for now, until the launcher gets past some of these hurdles.

Linking your other post: Cannot launch latest version with MacOS (China) - #6

If you haven’t heard of Anaconda, you’re probably not using it. I presume you don’t use “Astrill” either? I suspect there’s something on your machine that’s causing this, and we could try a few other things if you have more time/patience to experiment.

I had the exact same error messages as the OP & still having troubles. Followed the steps above, which did seem to do some stuff, but now the launcher gives new errors (which I’ve seen on other posts, but I’ve been unable to get a workaround to work). I’m on an M1 2020 MBP w/ Sequoia 15.6:

Anki Launcher

Checking for updates…

Updating Anki…

warning: Failed to patch the install name of the dynamic library for /Users/xxxxx/Library/Application Support/AnkiProgramFiles/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/xxxxx/Library/Application Support/AnkiProgramFiles/python/cpython-3.13.5-macos-aarch64-none/bin/python3.13` failed with exit status signal: 9 (SIGKILL)

Install failed: Failed to run (2): /Applications/Anki.app/Contents/MacOS/uv sync --upgrade --managed-python --no-config --python 3.13.5

Error: Failed to run (2): /Applications/Anki.app/Contents/MacOS/uv sync --upgrade --managed-python --no-config --python 3.13.5

Could you both open Terminal.app and type the following please, pressing enter, then pasting here what you see?

echo $PATH

Same problem on M1 2020 MBP w/ Sequoia 15.6. At least symptoms-wise: Anki stopped opening. Mouse right-click offers “force quit” only.

> sw_vers
ProductName:		macOS
ProductVersion:		15.6
BuildVersion:		24G84

> brew info anki
==> anki: 25.07.5
https://apps.ankiweb.net/
Installed
/opt/homebrew/Caskroom/anki/25.07.5 (74MB)


> which python3
/opt/homebrew/bin/python3
> python3 --version
Python 3.13.7

Might be something to do with macOS’s security sub-system and file quarantine.

xattr shows all files have com.apple.provenance attribute. Can access any of them in terminal, but apparently Anki itself (executed under the same UID) cannot.

> xattr -lr "~/Library/Application Support/AnkiProgramFiles/"
~Library/Application Support/AnkiProgramFiles/: com.apple.provenance:
...

Would you mind trying the echo $PATH I mentioned above?

@dae , sure thing, here it is:

> echo $PATH
$HOME/Applications/bin:/opt/homebrew/bin:/opt/homebrew/opt/openjdk@17/bin:/opt/homebrew/opt/openjdk@11/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:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/Applications/Little Snitch.app/Contents/Components:/Applications/iTerm.app/Contents/Resources/utilities

$HOME is redacted one, it’s a full path in the $PATH var.

Thanks @Anki270. I am wondering if this might be caused by a different ‘install_name_tool’ on your path. The next launcher beta should prevent install_name_tool from being invoked, which should fix this issue for some users. (if you try to run it and see ‘command not found’, your issue may be something else)

this seems to help:

rm -Rf "~/Library/Application Support/AnkiProgramFiles"
brew reinstall anki

I just tried to update my anki to mac 25.09

the when I open the downloaded file, this pop up:

and just don’t let me open the app.

Somebody please help~~~~

1 Like

See suggestions and links above.

For the benefit of anyone who stumbles across this, these errors are caused by other software like Conda installed on your machine, and recent launcher versions should already avoid the issue. So if you hit this, try updating your launcher.

2 Likes

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