Installation error - invalid peer certificate - --native-tls?

Dears,

When i tried to install Anki with the new installer, I encountered an error due to my work using non-standard certiicates (I think). The command line windows shows the error message below, speaking about certificate error and suggesting the use of the --native-tls command line flag.

______________________________

Anki Launcher

Checking for updates…
Unable to check for Anki versions. Please check your internet connection.

Error: Failed to run (1): C:\Users\XXXXXX\Anki\uv.exe run --no-project --no-config --managed-python --with pip-system-certs --python 3.13.5 C:\Users\XXXXXXX\Anki\versions.py: × Failed to fetch: https://pypi.org/simple/pip-system-certs/
├─▶ Request failed after 3 retries
├─▶ error sending request for url ( Links for pip-system-certs )
├─▶ client error (Connect)
╰─▶ invalid peer certificate: UnknownIssuer
help: Consider enabling use of system TLS certificates with the
--native-tls command-line flag

Press enter to close…
_______________________________

I was able to run the specific command successfully in powershell with the –native-tls flag and as I ran anki.exe again I got another certificate error regarding C:\Users\xxxx\Anki\uv.exe sync --upgrade --managed-python --no-config --python 3.13.5 .

I also successfully ran this command with the native-tls flag in powershell and tried anki.exe again.
This time I was face with the menu with options:
——————————————
Anki Launcher

  1. Latest Anki (press Enter)

  2. Choose a version

  3. Allow betas: off

  4. Cache downloads: on

  5. Uninstall

_________________________

when choosing to launch option Latest Anki (1), I met again the following certificate error message (C:\Users\XXXXXXXXX\Anki\uv.exe sync --upgrade --managed-python --no-config --python 3.13.5). The laucher then is stuck in this phase.

I do not have administrator privileges in the machine. Is there a way to be able to install the latest anki version?

1 Like

For now, you can revert to 25.02.7 – with a fresh install to avoid any launcher issues.

1 Like

Thanks, I am using it for now. Unfortunately, there is an add-on that I depend upon (ankimorph) that is unavailable to any version prior to 25.07.03. I understand that my issue with the laucher is not very widespread, since it seems to be caused by the use of non-standard certificate issuers by my corporate network.

1 Like

That sounds strange to me, since AnkiMorphs has been available and compatible for a few years. I don’t know why the dev removed the prior branches on the add-on page, but you might want to contact them directly to find out if there’s any reason you can’t continue using an earlier released version with an older version of Anki.

1 Like

I found the prior versions on its github, thanks

2 Likes