Bug: Anki 25.07 fails to launch on Linux

I cannot start anki with the 25.07 launcher:

$ python --version
Python 3.13.5

$ ./anki
Anki Launcher

1) Latest Anki (just press enter)
2) Choose a version

5) Allow betas: off
6) Cache downloads: on

7) Uninstall
8) Quit
>

Updating Anki...

error: No interpreter found for Python 3.13.5 in managed installations
Install failed: Failed with code Some(2): /opt/anki/25.07/uv.amd64 sync --upgrade --managed-python --python 3.13.5

1) Latest Anki (just press enter)
2) Choose a version

5) Allow betas: off
6) Cache downloads: on

7) Uninstall
8) Quit

What to do?

1 Like

Hmm, didn’t see any reports of this during beta testing. I presume you get the same message when you try 1) again? What happens if you choose ‘2’ and type in ‘25.02.7’? What Linux distro & CPU are you using? What does ‘set | grep UV’ print?

1 Like

Selecting “1” repeatedly or typing in a version manually doesn’t change anything, the error remains.

Gentoo, AMD Ryzen 5 5600G, set|grep UV returns nothing.

From that folder, please run ./uv.amd64 python list. What does it show? What glibc version do you have on your system? Any non-standard use flags on things like glibc?

$ ./uv.amd64 python list
cpython-3.13.5-linux-x86_64-gnu     /usr/bin/python3.13
cpython-3.13.5-linux-x86_64-gnu     /usr/bin/python3 -> python-exec2c
cpython-3.13.5-linux-x86_64-gnu     /usr/bin/python -> python-exec2c
cpython-3.12.11-linux-x86_64-gnu    /usr/bin/python3.12
cpython-3.11.13-linux-x86_64-gnu    /usr/bin/python3.11

glibc 2.41-r4, no non-standard USE flags that I’m aware of

Does adding ‘-v -n’ to that command reveal anything extra? What about with --all-arches?

If you have no luck, please try the same with the latest uv release:

If you get the same output with that as well, it implies that uv is not handling your environment correctly, and this will need to be chased up with them.

I also am having this issue.

./uv.amd64 python list -v -n --all-arches
DEBUG uv 0.7.13
DEBUG Searching for any Python interpreter in managed installations or search path
DEBUG Found `cpython-3.13.5-linux-x86_64-gnu` at `/usr/bin/python` (first executable in the search path)
DEBUG Found `cpython-3.13.5-linux-x86_64-gnu` at `/usr/bin/python3` (search path)
DEBUG Found `cpython-3.13.5-linux-x86_64-gnu` at `/usr/bin/python3.13` (search path)
DEBUG Searching for managed installations at `/home/grinkers/.local/share/uv/python`
DEBUG Found managed installation `cpython-3.13.5-linux-x86_64-gnu`
DEBUG Found `cpython-3.13.5-linux-x86_64-gnu` at `/home/grinkers/.local/share/uv/python/cpython-3.13.5-linux-x86_64-gnu/bin/python3.13` (managed installations)
cpython-3.13.5-linux-x86_64-gnu    /usr/bin/python3.13
cpython-3.13.5-linux-x86_64-gnu    /usr/bin/python3 -> python3.13
cpython-3.13.5-linux-x86_64-gnu    /usr/bin/python -> ./python3
cpython-3.13.5-linux-x86_64-gnu    /home/grinkers/.local/share/uv/python/cpython-3.13.5-linux-x86_64-gnu/bin/python3.13

I also tried with the latest uv directly from git and tried putting it into the anki launcher dir

./uv.amd64 --version
uv 0.7.19 (e8bc3950e 2025-07-03)

Anki Launcher

1) Latest Anki (just press enter)
2) Choose a version

5) Allow betas: off
6) Cache downloads: on

7) Uninstall
8) Quit
> 1

Updating Anki...

error: No interpreter found for Python 3.13.5 in managed installations
Install failed: Failed with code Some(2): /home/grinkers/tools/anki-launcher/uv.amd64 sync --upgrade --managed-python --python 3.13.5

Interestingly this does work fine from a completely fresh extraction, so something a bit weird with the way uv is being invoked from the launcher?

tar -xf anki-launcher.tar.zst && cd anki-launcher && ./uv.amd64 run anki

To confirm I’ve understood you correctly:

./uv.amd64 python list -v -n --only-downloads

shows no available downloads? But running the same command with uv directly from git(hub) (not the bundled uv.amd64 or a file you’ve moved to that location) works correctly?

I’m puzzled as to why it shows me available downloads even in-place on a Linux machine here.

7 posts were split to a new topic: Anki 25.07 fails to launch on macOS

I ended up doing a bit of a deep dive, as I wanted to learn more about uv.

Potential fix here, and a write up. At least in my case the root cause was that uv sync doesn’t install the managed python.

1 Like

@foobar please try the 25.07.1 launcher, which contains a patch from @grinkers

Thank you @dae and @grinkers, it works like a charm now :slight_smile:

1 Like