-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Description
The anki launcher is interfering with my global python installation on Windows 11:
Error: Failed to run (1): D:\Anki\uv.exe run --no-project --no-config --managed-python --with pip-system-certs,requests[socks] --python 3.13.5 D:\Anki\versions.py: pip_system_certs: ERROR: could not register module: DLL load failed while importing _ssl: The specified module could not be found.
Traceback (most recent call last):
File "D:\Anki\versions.py", line 4, in <module>
import json
File "C:\Program Files\Python312\Lib\json\__init__.py", line 106, in <module>
from .decoder import JSONDecoder, JSONDecodeError
File "C:\Program Files\Python312\Lib\json\decoder.py", line 3, in <module>
import re
File "C:\Program Files\Python312\Lib\re\__init__.py", line 125, in <module>
from . import _compiler, _parser
File "C:\Program Files\Python312\Lib\re\_compiler.py", line 18, in <module>
assert _sre.MAGIC == MAGIC, "SRE module mismatch"
AssertionError: SRE module mismatch
Press enter to close...
I was getting this every time trying to install latest version, I had to temporarily remove python path from my environment variables to be able to install it and after that launching "anki.exe" also showed this error on terminal:
Error: Failed to run (1): C:\Users\User\AppData\Local\AnkiProgramFiles\.venv\Scripts/pythonw.exe -c import aqt, sys; sys.argv[0] = 'Anki'; aqt.run()
Press enter to close...
So i had to create a bat file to exclude my installation paths just to be able to launch it
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels