Can't install the latest version of ANKI on MACOS

Dear all,

My mac uses M1 chip and the system version is Sequoia. It’s a new machine and hasn’t installed any version of ANKI before. I downloaded the latest version of anki from official site. After installation, I double clicked the anki icon in Finder. A terminal poped up and i choose ‘1’ to intalll the latest version. The terminal prompted that it’s downloading Python 3.13.5 but then the following erros appeared. Solving this installation issue is out of my ability and i posted the issue here hoping for some suggestions. Thank you!

Last login: Sun Aug 3 17:00:37 on ttys000

/Applications/Anki.app/Contents/MacOS/launcher ; exit;

imac@imacdeMacBook-Pro ~ % /Applications/Anki.app/Contents/MacOS/launcher ; exit;

Anki Launcher

  1. Latest Anki (just press enter)

  2. Choose a version

  3. Allow betas: off

  4. Cache downloads: on

  5. Uninstall

  6. Quit

> 1

Updating Anki…

error: Failed to extract archive: cpython-3.13.5-20250612-aarch64-apple-darwin-install_only_stripped.tar.gz

Caused by: failed to unpack `/Users/imac/Library/Application Support/AnkiProgramFiles/python/.temp/.tmpxGOx2b/python/lib/python3.13/ensurepip/_bundled/pip-25.1.1-py3-none-any.whl`

Caused by: failed to unpack `python/lib/python3.13/ensurepip/_bundled/pip-25.1.1-py3-none-any.whl` into `/Users/imac/Library/Application Support/AnkiProgramFiles/python/.temp/.tmpxGOx2b/python/lib/python3.13/ensurepip/_bundled/pip-25.1.1-py3-none-any.whl`

Caused by: error decoding response body

Caused by: request or response body error

Caused by: error reading a body from connection

Caused by: stream error received: unspecific protocol error detected

Install failed: Failed with code Some(2): /Applications/Anki.app/Contents/MacOS/uv sync --upgrade --managed-python --python 3.13.5

1 Like

See:

If problems persist after updating to the latest launch, please try manually removing your AnkiProgramFiles folder.

1 Like

Using the latest 25.08b4 version, the same problem still exists.

Last login: Mon Aug 4 21:54:37 on console

imac@imacdeMacBook-Pro ~ % /Applications/Anki.app/Contents/MacOS/launcher ; exit;

Anki Launcher

Checking for updates…

Updating Anki…

error: Failed to extract archive: cpython-3.13.5-20250612-aarch64-apple-darwin-install_only_stripped.tar.gz

Caused by: failed to unpack `/Users/imac/Library/Application Support/AnkiProgramFiles/python/.temp/.tmpNdjwY9/python/lib/python3.13/ensurepip/_bundled/pip-25.1.1-py3-none-any.whl`

Caused by: failed to unpack `python/lib/python3.13/ensurepip/_bundled/pip-25.1.1-py3-none-any.whl` into `/Users/imac/Library/Application Support/AnkiProgramFiles/python/.temp/.tmpNdjwY9/python/lib/python3.13/ensurepip/_bundled/pip-25.1.1-py3-none-any.whl`

Caused by: error decoding response body

Caused by: request or response body error

Caused by: error reading a body from connection

Caused by: stream error received: unspecific protocol error detected

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

Press enter to close…

I can’t even find the "~/Library/Application Support/AnkiProgramFilesd” directory on my mac.

imac@imacdeMacBook-Pro /Library % cd ./“Application Support”

imac@imacdeMacBook-Pro Application Support % ls

App Store com.apple.TVIdleScreen

Apple CrashReporter

ApplePushService iLifeMediaBrowser

BTServer Mozilla

com.apple.backgroundassets.user ProApps

com.apple.idleassetsd Script Editor

com.apple.TCC

imac@imacdeMacBook-Pro Application Support %

You were looking in the wrong directory. You needed to be in “~/Library/Application Support”, but you were instead in “/Library/Application Support”. (Note the missing “~”.)

2 Likes

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