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!
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`
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`
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 “~”.)