I have tried to install the latest release 25.07.5 on a fully updated Windows 11. I run the .exe and it installs and then the launcher runs. I then select option 1. The output is:
Checking for updates…
Unable to check for Anki versions. Please check your internet connection.
Error: Failed to run (-1073741819): C:\Users\Lenovo[username]\Local\Programs\Anki\uv.exe run --no-project --no-config --managed-python --with pip-system-certs --python 3.13.5 C:\Users[username]\AppData\Local\Programs\Anki\versions.py:
Press enter to close…
I found a couple of similar topics: #64615 and #64436 but no resolution. As per topic #64615 , I’ve checked and I can access the pypi json page successfully. As per topic #64436 , I’ve tried the 25.08 beta and the error is the same. (I cannot include links yet as I am a new user.)
Ben4
July 29, 2025, 5:31pm
2
Installed the latest Anki 25.07.5 on my new ASUS Zenbook 14 OLED UM3406KA.
The installation works but as soon as the main window appears it closes itself (after about 2 seconds). I can get around this by holding Shift while opening the software, but as soon as I try to sync, the same thing happens and it just dies.
Very frustrating as I really rely on this software. Any ideas how to fix it?
Thanks for trying safe mode first!
For unexplained crashes, the Troubleshooting Checklist – Troubleshooting - Anki Manual is the place to start. Since you already know safe mode gets you past the problem, will you try running Anki from a command prompt – Startup Issues - Anki Manual – and see what errors you get when it crashes. After you paste that command, try it both ways – (1) just click Enter, and (2) hold Shift before you click Enter and until you get the safe mode confirmation.
Ben4
July 30, 2025, 7:33am
4
Thanks for the reply - appreciated.
I tried running from a command prompt. When running in normal mode it crashes immediately. When running in safe mode, it crashes upon attempting to sync. I get this output in the command window:
Starting Anki 25.07.5…
2025-07-30 08:26:10,265:INFO:aqt.mediasrv: Serving on http:// 127.0.0.1:63345
Starting main loop…
Error: Failed to run (-1073741819): C:\Users\benjd\AppData\Local\AnkiProgramFiles.venv\Scripts/python.exe -c import aqt, sys; sys.argv[0] = ‘Anki’; aqt.run()
Press enter to close…
I managed to install by deleting the Anki2 folder (after making a copy), uninstalling previous versions, restarting, and then immediately after boot installing the latest version. If I didn’t do it immediately after boot then it would have the ‘internet connection’ problem.
Now, it has a new issue. It can open for a few seconds before closing. The console gives the following:
Starting Anki 25.07.5…
2025-07-30 17:17:54,384:INFO:aqt.mediasrv: Serving on http://127.0.0.1:50207
Starting main loop…
Error: Failed to run (-1073741819): C:\Users\Lenovo\AppData\Local\AnkiProgramFiles.venv\Scripts/python.exe -c import aqt, sys; sys.argv[0] = ‘Anki’; aqt.run()
Press enter to close…
I can run it in safemode by holding down shift. But I’m not sure where to go from here.
abdo
July 31, 2025, 5:12am
6
So it runs normally in safe mode? If so, Can you use About > Help > Copy Debug Info and paste text here?
abdo
July 31, 2025, 5:15am
7
Related report:
I have tried to install the latest release 25.07.5 on a fully updated Windows 11. I run the .exe and it installs and then the launcher runs. I then select option 1. The output is:
Checking for updates…
Unable to check for Anki versions. Please check your internet connection.
Error: Failed to run (-1073741819): C:\Users\Lenovo[username]\Local\Programs\Anki\uv.exe run --no-project --no-config --managed-python --with pip-system-certs --python 3.13.5 C:\Users[username]\AppData\Local\Programs\Ank…
@Danika_Dakika maybe you can merge them.
1 Like
Thanks. It does not crash in safe mode until I try to login to sync.
Here’s the debug info:
Anki 25.07.5 (7172b2d2)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: Windows-11-10.0.26100-SP0
I’m facing the same on MacOS
Anki Launcher
Checking for updates…
Unable to check for Anki versions. Please check your internet connection.
Error: Failed to run (2): /Applications/Anki.app/Contents/MacOS/uv run --no-project --no-config --managed-python --with pip-system-certs --python 3.13.5 /Applications/Anki.app/Contents/Resources/versions.py: error: failed to create directory `/Users/xxx/.local/share/uv/python`: Permission denied (os error 13)
Press enter to close…
sudo chown -R $(whoami) ~/.local
did the trick
Ben4
August 2, 2025, 11:04am
11
I am having exactly the same issue. Did you manage to solve it? Can anyone suggest a way to solve it? I would really like to be able to use anki on my laptop again.
abdo
August 2, 2025, 11:55am
13
@redpandacat @Ben4
What output do you get if you copy & run this command in cmd.exe?
C:\Users\%USERNAME%\AppData\Local\AnkiProgramFiles\.venv\Scripts/python.exe -c "import aqt, sys; sys.argv[0] = 'Anki'; aqt.run()"
abdo
August 2, 2025, 12:15pm
14
The error code is very general, but this might be related (especially since the issue appears to be related to network access):
opened 11:12AM - 11 Jul 25 UTC
bug
windows
### Summary
My uv recently broke, and I don't know why. Below are some logs
``… `bash
uv tool install isort -vv
DEBUG uv 0.7.9 (13a86a23b 2025-05-30)
DEBUG Searching for default Python interpreter in managed installations, search path, or registry
DEBUG Searching for managed installations at `C:\Users\mench\AppData\Roaming\uv\python`
DEBUG Found managed installation `cpython-3.12.10-windows-x86_64-none`
TRACE Cached interpreter info for Python 3.12.10, skipping probing: C:\Users\mench\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\python.exe
DEBUG Found `cpython-3.12.10-windows-x86_64-none` at `C:\Users\mench\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\python.exe` (managed installations)
TRACE Checking lock for `C:\Users\mench\AppData\Roaming\uv\tools` at `C:\Users\mench\AppData\Roaming\uv\tools\.lock`
DEBUG Acquired lock for `C:\Users\mench\AppData\Roaming\uv\tools`
DEBUG Checking for Python environment at `C:\Users\mench\AppData\Roaming\uv\tools\isort`
DEBUG Using request timeout of 30s
DEBUG Solving with installed Python version: 3.12.10
DEBUG Solving with target Python version: >=3.12.10
TRACE Assigned packages:
TRACE Chose package for decision: root. remaining choices:
DEBUG Adding direct dependency: isort*
TRACE Assigned packages: root==0a0.dev0
TRACE Chose package for decision: isort. remaining choices:
TRACE Fetching metadata for isort from https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/
TRACE Checking lock for `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\isort.lock` at `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\isort.lock`
DEBUG Acquired lock for `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\isort.lock`
TRACE No cache entry exists for C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\isort.rkyv
DEBUG No cache entry for: https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/
TRACE Sending fresh GET request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/
TRACE Handling request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/ with authentication policy auto
TRACE Request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/ is unauthenticated, checking cache
TRACE No credentials in cache for URL https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/
TRACE Attempting unauthenticated request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/
```
```bash
uv add numpy -vv
DEBUG uv 0.7.9 (13a86a23b 2025-05-30)
DEBUG Found project root: `C:\Users\mench\Work\Private\tests\abb`
DEBUG No workspace root found, using project root
TRACE Checking lock for `C:\Users\mench\Work\Private\tests\abb` at `C:\Users\mench\AppData\Local\Temp\uv-37f0429431815cfc.lock`
DEBUG Acquired lock for `C:\Users\mench\Work\Private\tests\abb`
DEBUG Reading Python requests from version file at `C:\Users\mench\Work\Private\tests\abb\.python-version`
DEBUG Using Python request `3.12` from version file at `.python-version`
DEBUG Checking for Python environment at `.venv`
DEBUG Searching for Python 3.12 in managed installations, search path, or registry
DEBUG Searching for managed installations at `C:\Users\mench\AppData\Roaming\uv\python`
DEBUG Found managed installation `cpython-3.12.10-windows-x86_64-none`
TRACE Cached interpreter info for Python 3.12.10, skipping probing: C:\Users\mench\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\python.exe
DEBUG Found `cpython-3.12.10-windows-x86_64-none` at `C:\Users\mench\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\python.exe` (managed installations)
Using CPython 3.12.10
Creating virtual environment at: .venv
DEBUG Using base executable for virtual environment: C:\Users\mench\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\python.exe
DEBUG Released lock at `C:\Users\mench\AppData\Local\Temp\uv-37f0429431815cfc.lock`
DEBUG Using request timeout of 30s
DEBUG Found static `pyproject.toml` for: abb @ file:///C:/Users/mench/Work/Private/tests/abb
DEBUG No workspace root found, using project root
TRACE Performing lookahead for abb @ file:///C:/Users/mench/Work/Private/tests/abb
DEBUG Solving with installed Python version: 3.12.10
DEBUG Solving with target Python version: >=3.12
TRACE Assigned packages:
TRACE Chose package for decision: root. remaining choices:
DEBUG Adding direct dependency: abb*
TRACE Assigned packages: root==0a0.dev0
TRACE Chose package for decision: abb. remaining choices:
DEBUG Searching for a compatible version of abb @ file:///C:/Users/mench/Work/Private/tests/abb (*)
DEBUG Adding direct dependency: numpy*
TRACE Assigned packages: root==0a0.dev0, abb==0.1.0
TRACE Chose package for decision: numpy. remaining choices:
TRACE Fetching metadata for numpy from https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/
TRACE Checking lock for `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\numpy.lock` at `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\numpy.lock`
DEBUG Acquired lock for `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\numpy.lock`
TRACE No cache entry exists for C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\numpy.rkyv
DEBUG No cache entry for: https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/
TRACE Sending fresh GET request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/
TRACE Handling request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/ with authentication policy auto
TRACE Request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/ is unauthenticated, checking cache
TRACE No credentials in cache for URL https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/
TRACE Attempting unauthenticated request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/
```
My `~/.config/uv/uv.toml`:
```toml
[[index]]
url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
default = true
```
It worked in the past, but I don't know why it doesn't work recently.
### Platform
win11
### Version
uv 0.7.9 (13a86a23b 2025-05-30)
### Python version
3.12.10
Do you have Astrill VPN or similar software installed @redpandacat @Ben4 ?
Thanks. Yes, I do (Astrill). So it seems there’s a fair chance that could be interfering (even when not explicitly in use).
If it’s still relevant I can run that code a bit later today.
1 Like
abdo
August 2, 2025, 12:46pm
16
Yes. VPN software commonly can still affect network operation even when not in use (I had my fair share of this kind of problems).
You can try the workarounds suggested here:
opened 11:12AM - 11 Jul 25 UTC
bug
windows
### Summary
My uv recently broke, and I don't know why. Below are some logs
``… `bash
uv tool install isort -vv
DEBUG uv 0.7.9 (13a86a23b 2025-05-30)
DEBUG Searching for default Python interpreter in managed installations, search path, or registry
DEBUG Searching for managed installations at `C:\Users\mench\AppData\Roaming\uv\python`
DEBUG Found managed installation `cpython-3.12.10-windows-x86_64-none`
TRACE Cached interpreter info for Python 3.12.10, skipping probing: C:\Users\mench\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\python.exe
DEBUG Found `cpython-3.12.10-windows-x86_64-none` at `C:\Users\mench\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\python.exe` (managed installations)
TRACE Checking lock for `C:\Users\mench\AppData\Roaming\uv\tools` at `C:\Users\mench\AppData\Roaming\uv\tools\.lock`
DEBUG Acquired lock for `C:\Users\mench\AppData\Roaming\uv\tools`
DEBUG Checking for Python environment at `C:\Users\mench\AppData\Roaming\uv\tools\isort`
DEBUG Using request timeout of 30s
DEBUG Solving with installed Python version: 3.12.10
DEBUG Solving with target Python version: >=3.12.10
TRACE Assigned packages:
TRACE Chose package for decision: root. remaining choices:
DEBUG Adding direct dependency: isort*
TRACE Assigned packages: root==0a0.dev0
TRACE Chose package for decision: isort. remaining choices:
TRACE Fetching metadata for isort from https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/
TRACE Checking lock for `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\isort.lock` at `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\isort.lock`
DEBUG Acquired lock for `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\isort.lock`
TRACE No cache entry exists for C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\isort.rkyv
DEBUG No cache entry for: https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/
TRACE Sending fresh GET request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/
TRACE Handling request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/ with authentication policy auto
TRACE Request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/ is unauthenticated, checking cache
TRACE No credentials in cache for URL https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/
TRACE Attempting unauthenticated request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/
```
```bash
uv add numpy -vv
DEBUG uv 0.7.9 (13a86a23b 2025-05-30)
DEBUG Found project root: `C:\Users\mench\Work\Private\tests\abb`
DEBUG No workspace root found, using project root
TRACE Checking lock for `C:\Users\mench\Work\Private\tests\abb` at `C:\Users\mench\AppData\Local\Temp\uv-37f0429431815cfc.lock`
DEBUG Acquired lock for `C:\Users\mench\Work\Private\tests\abb`
DEBUG Reading Python requests from version file at `C:\Users\mench\Work\Private\tests\abb\.python-version`
DEBUG Using Python request `3.12` from version file at `.python-version`
DEBUG Checking for Python environment at `.venv`
DEBUG Searching for Python 3.12 in managed installations, search path, or registry
DEBUG Searching for managed installations at `C:\Users\mench\AppData\Roaming\uv\python`
DEBUG Found managed installation `cpython-3.12.10-windows-x86_64-none`
TRACE Cached interpreter info for Python 3.12.10, skipping probing: C:\Users\mench\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\python.exe
DEBUG Found `cpython-3.12.10-windows-x86_64-none` at `C:\Users\mench\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\python.exe` (managed installations)
Using CPython 3.12.10
Creating virtual environment at: .venv
DEBUG Using base executable for virtual environment: C:\Users\mench\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\python.exe
DEBUG Released lock at `C:\Users\mench\AppData\Local\Temp\uv-37f0429431815cfc.lock`
DEBUG Using request timeout of 30s
DEBUG Found static `pyproject.toml` for: abb @ file:///C:/Users/mench/Work/Private/tests/abb
DEBUG No workspace root found, using project root
TRACE Performing lookahead for abb @ file:///C:/Users/mench/Work/Private/tests/abb
DEBUG Solving with installed Python version: 3.12.10
DEBUG Solving with target Python version: >=3.12
TRACE Assigned packages:
TRACE Chose package for decision: root. remaining choices:
DEBUG Adding direct dependency: abb*
TRACE Assigned packages: root==0a0.dev0
TRACE Chose package for decision: abb. remaining choices:
DEBUG Searching for a compatible version of abb @ file:///C:/Users/mench/Work/Private/tests/abb (*)
DEBUG Adding direct dependency: numpy*
TRACE Assigned packages: root==0a0.dev0, abb==0.1.0
TRACE Chose package for decision: numpy. remaining choices:
TRACE Fetching metadata for numpy from https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/
TRACE Checking lock for `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\numpy.lock` at `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\numpy.lock`
DEBUG Acquired lock for `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\numpy.lock`
TRACE No cache entry exists for C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\numpy.rkyv
DEBUG No cache entry for: https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/
TRACE Sending fresh GET request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/
TRACE Handling request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/ with authentication policy auto
TRACE Request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/ is unauthenticated, checking cache
TRACE No credentials in cache for URL https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/
TRACE Attempting unauthenticated request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/
```
My `~/.config/uv/uv.toml`:
```toml
[[index]]
url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
default = true
```
It worked in the past, but I don't know why it doesn't work recently.
### Platform
win11
### Version
uv 0.7.9 (13a86a23b 2025-05-30)
### Python version
3.12.10
opened 11:12AM - 11 Jul 25 UTC
bug
windows
### Summary
My uv recently broke, and I don't know why. Below are some logs
``… `bash
uv tool install isort -vv
DEBUG uv 0.7.9 (13a86a23b 2025-05-30)
DEBUG Searching for default Python interpreter in managed installations, search path, or registry
DEBUG Searching for managed installations at `C:\Users\mench\AppData\Roaming\uv\python`
DEBUG Found managed installation `cpython-3.12.10-windows-x86_64-none`
TRACE Cached interpreter info for Python 3.12.10, skipping probing: C:\Users\mench\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\python.exe
DEBUG Found `cpython-3.12.10-windows-x86_64-none` at `C:\Users\mench\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\python.exe` (managed installations)
TRACE Checking lock for `C:\Users\mench\AppData\Roaming\uv\tools` at `C:\Users\mench\AppData\Roaming\uv\tools\.lock`
DEBUG Acquired lock for `C:\Users\mench\AppData\Roaming\uv\tools`
DEBUG Checking for Python environment at `C:\Users\mench\AppData\Roaming\uv\tools\isort`
DEBUG Using request timeout of 30s
DEBUG Solving with installed Python version: 3.12.10
DEBUG Solving with target Python version: >=3.12.10
TRACE Assigned packages:
TRACE Chose package for decision: root. remaining choices:
DEBUG Adding direct dependency: isort*
TRACE Assigned packages: root==0a0.dev0
TRACE Chose package for decision: isort. remaining choices:
TRACE Fetching metadata for isort from https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/
TRACE Checking lock for `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\isort.lock` at `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\isort.lock`
DEBUG Acquired lock for `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\isort.lock`
TRACE No cache entry exists for C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\isort.rkyv
DEBUG No cache entry for: https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/
TRACE Sending fresh GET request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/
TRACE Handling request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/ with authentication policy auto
TRACE Request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/ is unauthenticated, checking cache
TRACE No credentials in cache for URL https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/
TRACE Attempting unauthenticated request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/isort/
```
```bash
uv add numpy -vv
DEBUG uv 0.7.9 (13a86a23b 2025-05-30)
DEBUG Found project root: `C:\Users\mench\Work\Private\tests\abb`
DEBUG No workspace root found, using project root
TRACE Checking lock for `C:\Users\mench\Work\Private\tests\abb` at `C:\Users\mench\AppData\Local\Temp\uv-37f0429431815cfc.lock`
DEBUG Acquired lock for `C:\Users\mench\Work\Private\tests\abb`
DEBUG Reading Python requests from version file at `C:\Users\mench\Work\Private\tests\abb\.python-version`
DEBUG Using Python request `3.12` from version file at `.python-version`
DEBUG Checking for Python environment at `.venv`
DEBUG Searching for Python 3.12 in managed installations, search path, or registry
DEBUG Searching for managed installations at `C:\Users\mench\AppData\Roaming\uv\python`
DEBUG Found managed installation `cpython-3.12.10-windows-x86_64-none`
TRACE Cached interpreter info for Python 3.12.10, skipping probing: C:\Users\mench\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\python.exe
DEBUG Found `cpython-3.12.10-windows-x86_64-none` at `C:\Users\mench\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\python.exe` (managed installations)
Using CPython 3.12.10
Creating virtual environment at: .venv
DEBUG Using base executable for virtual environment: C:\Users\mench\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\python.exe
DEBUG Released lock at `C:\Users\mench\AppData\Local\Temp\uv-37f0429431815cfc.lock`
DEBUG Using request timeout of 30s
DEBUG Found static `pyproject.toml` for: abb @ file:///C:/Users/mench/Work/Private/tests/abb
DEBUG No workspace root found, using project root
TRACE Performing lookahead for abb @ file:///C:/Users/mench/Work/Private/tests/abb
DEBUG Solving with installed Python version: 3.12.10
DEBUG Solving with target Python version: >=3.12
TRACE Assigned packages:
TRACE Chose package for decision: root. remaining choices:
DEBUG Adding direct dependency: abb*
TRACE Assigned packages: root==0a0.dev0
TRACE Chose package for decision: abb. remaining choices:
DEBUG Searching for a compatible version of abb @ file:///C:/Users/mench/Work/Private/tests/abb (*)
DEBUG Adding direct dependency: numpy*
TRACE Assigned packages: root==0a0.dev0, abb==0.1.0
TRACE Chose package for decision: numpy. remaining choices:
TRACE Fetching metadata for numpy from https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/
TRACE Checking lock for `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\numpy.lock` at `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\numpy.lock`
DEBUG Acquired lock for `C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\numpy.lock`
TRACE No cache entry exists for C:\Users\mench\AppData\Local\uv\cache\simple-v16\index\e367fd55faf540ee\numpy.rkyv
DEBUG No cache entry for: https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/
TRACE Sending fresh GET request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/
TRACE Handling request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/ with authentication policy auto
TRACE Request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/ is unauthenticated, checking cache
TRACE No credentials in cache for URL https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/
TRACE Attempting unauthenticated request for https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/numpy/
```
My `~/.config/uv/uv.toml`:
```toml
[[index]]
url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
default = true
```
It worked in the past, but I don't know why it doesn't work recently.
### Platform
win11
### Version
uv 0.7.9 (13a86a23b 2025-05-30)
### Python version
3.12.10
1 Like
Thanks. I quickly tried moving the dll mentioned but it didn’t resolve the issue. I might do a clean install of both and try once again.
I also looked at this thread and when I checked the ‘hard excluded’ apps on Astrill I found I had added anki.exe a while ago! It seems I must have had some problem before and either this was a solution or an attempted solution. Either way, it doesn’t seem to work now.
ozzeus
August 17, 2025, 7:14am
18
This solution works, but it is incomplete.
You need to exclude not only anki.exe but also anki-console.exe, uvw.exe, and uv.exe.
For anybody who has a similar problem, this works!
2 Likes
Thank you @ozzeus . I appreciate the tip.
I uninstalled both Anki and Astrill. Did a clean install of Anki, worked no problem. But after installing Astrill it had the same problem (as expected). Then I added all four .exe to Astrill’s “exclude” and “hard exclude’’ lists. Restarted the computer. However, it still does not launch (unless in safe mode). Was there anything else you did before or after?
The error does seem to have changed though compared with the original post:
Starting Anki 25.07.5…
2025-08-18 11:09:17,153:INFO:aqt.mediasrv: Serving on http://127.0.0.1:50308
Starting main loop…
Error: Failed to run (-1073741819): C:\Users\Lenovo\AppData\Local\AnkiProgramFiles.venv\Scripts/python.exe -c import aqt, sys; sys.argv[0] = ‘Anki’; aqt.run()
Press enter to close…
This looks the same as @Ben4 had: Cannot install latest, "internet connection" error message - #4 by Ben4
ozzeus
August 18, 2025, 9:26am
20
Yeah, it worked at the beginning. But now, I have the same problem as you.
I GAVE UP!
It is such a waste of time trying to solve this shit. Every update breaks something. I am tired. I will stick to AnkiMobile.