Changing the Python version while using the self-hosted server will cause the launcher not to work (resolved)

When using the self-hosted server built into Anki for desktop on Windows 11, downgrading the Python version (python3.13 → python3.9) via Anki’s tools causes Python changes to fail. This seems to disable launcher updates and prevents Anki from launching (reinstalling the launcher still causes errors).

1 Like

Shut down the self-hosted server, manually deleting the AnkiProgramFiles folder and restarting the launcher resolved this issue. (maybe uninstalling via the launcher options could also resolve it?) So if using a self-hosted server it might be safer to shut down the server before upgrading Anki for desktop. (maybe the same problem will occur when Anki’s Python version is upgraded in the future)

1 Like

Though it has not related to the self-hosted server, maybe the same problem occurs when running programs using UV and Python via add-ons. e.g. This my console add-on continues running even after Anki closes. General users may not notice the uninstallation, so a mechanism to detect upgrades and automatically close the program may be necessary.

2 Likes