# Astrill prevents Anki from starting

**URL:** <https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817>\
**Category:** Help\
**Created:** [July 29, 2025, 3:39pm UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817 "2025-07-29T15:39:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![redpandacat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/redpandacat/32/30144_2.png) [@redpandacat](https://forums.ankiweb.net/u/redpandacat)\
**Post date:** [July 29, 2025, 3:39pm UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/1 "2025-07-29T15:39:03Z")

</div>

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.)

---

<div class="post-metadata">

**Author:** ![Ben4](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@Ben4](https://forums.ankiweb.net/u/Ben4)\
**Post date:** [July 29, 2025, 5:31pm UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/2 "2025-07-29T17:31:41Z")

</div>

Installed the latest **[Anki 25.07.5](https://github.com/ankitects/anki/releases/download/25.07.5/anki-launcher-25.07.5-windows.exe)** 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?

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [July 29, 2025, 9:17pm UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/3 "2025-07-29T21:17:38Z")

</div>

Thanks for trying safe mode first!

For unexplained crashes, the Troubleshooting Checklist – [Troubleshooting - Anki Manual](https://docs.ankiweb.net/troubleshooting.html) 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](https://docs.ankiweb.net/platform/windows/startup-issues.html#debugging) – 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.

---

<div class="post-metadata">

**Author:** ![Ben4](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@Ben4](https://forums.ankiweb.net/u/Ben4)\
**Post date:** [July 30, 2025, 7:33am UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/4 "2025-07-30T07:33:38Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![redpandacat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/redpandacat/32/30144_2.png) [@redpandacat](https://forums.ankiweb.net/u/redpandacat)\
**Post date:** [July 30, 2025, 4:15pm UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/5 "2025-07-30T16:15:22Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [July 31, 2025, 5:12am UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/6 "2025-07-31T05:12:27Z")

</div>

> [@redpandacat](#):
>
> I can run it in safemode by holding down shift. But I’m not sure where to go from here.

So it runs normally in safe mode? If so, Can you use _About \> Help \> Copy Debug Info_ and paste text here?

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [July 31, 2025, 5:15am UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/7 "2025-07-31T05:15:07Z")

</div>

Related report:

> [@Cannot install latest, "internet connection" error message](https://forums.ankiweb.net/t/cannot-install-latest-internet-connection-error-message/64817):
>
> 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.

---

<div class="post-metadata">

**Author:** ![redpandacat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/redpandacat/32/30144_2.png) [@redpandacat](https://forums.ankiweb.net/u/redpandacat)\
**Post date:** [July 31, 2025, 6:51am UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/8 "2025-07-31T06:51:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![snowrain](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@snowrain](https://forums.ankiweb.net/u/snowrain)\
**Post date:** [July 31, 2025, 8:49pm UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/9 "2025-07-31T20:49:05Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![snowrain](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@snowrain](https://forums.ankiweb.net/u/snowrain)\
**Post date:** [July 31, 2025, 9:01pm UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/10 "2025-07-31T21:01:27Z")

</div>

sudo chown -R $(whoami) ~/.local

did the trick

---

<div class="post-metadata">

**Author:** ![Ben4](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@Ben4](https://forums.ankiweb.net/u/Ben4)\
**Post date:** [August 2, 2025, 11:04am UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/11 "2025-08-02T11:04:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![redpandacat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/redpandacat/32/30144_2.png) [@redpandacat](https://forums.ankiweb.net/u/redpandacat)\
**Post date:** [August 2, 2025, 11:29am UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/12 "2025-08-02T11:29:57Z")

</div>

No, not yet.

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [August 2, 2025, 11:55am UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/13 "2025-08-02T11:55:34Z")

</div>

@redpandacat @Ben4

What output do you get if you copy & run this command in cmd.exe?

```shell
C:\Users\%USERNAME%\AppData\Local\AnkiProgramFiles\.venv\Scripts/python.exe -c "import aqt, sys; sys.argv[0] = 'Anki'; aqt.run()"

```

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [August 2, 2025, 12:15pm UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/14 "2025-08-02T12:15:18Z")

</div>

The error code is very general, but this might be related (especially since the issue appears to be related to network access):

> <https://github.com/astral-sh/uv/issues/14563>
>
> \### 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?

---

<div class="post-metadata">

**Author:** ![redpandacat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/redpandacat/32/30144_2.png) [@redpandacat](https://forums.ankiweb.net/u/redpandacat)\
**Post date:** [August 2, 2025, 12:33pm UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/15 "2025-08-02T12:33:21Z")

</div>

> [@abdo](#):
>
> Do you have Astrill VPN or similar software installed?

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.

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [August 2, 2025, 12:46pm UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/16 "2025-08-02T12:46:31Z")

</div>

> [@redpandacat](#):
>
> So it seems there’s a fair chance that could be interfering (even when not explicitly in use).

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:

> <https://github.com/astral-sh/uv/issues/14563#issuecomment-3073682062>
>
> \### 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

> <https://github.com/astral-sh/uv/issues/14563#issuecomment-3074312693>
>
> \### 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

---

<div class="post-metadata">

**Author:** ![redpandacat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/redpandacat/32/30144_2.png) [@redpandacat](https://forums.ankiweb.net/u/redpandacat)\
**Post date:** [August 3, 2025, 2:49pm UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/17 "2025-08-03T14:49:01Z")

</div>

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](https://forums.ankiweb.net/t/anki-desktop-24-11-no-opening-at-all-astrill-vpn/53073/17) 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.

---

<div class="post-metadata">

**Author:** ![ozzeus](https://avatars.discourse-cdn.com/v4/letter/o/f08c70/32.png) [@ozzeus](https://forums.ankiweb.net/u/ozzeus)\
**Post date:** [August 17, 2025, 7:14am UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/18 "2025-08-17T07:14:10Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![redpandacat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/redpandacat/32/30144_2.png) [@redpandacat](https://forums.ankiweb.net/u/redpandacat)\
**Post date:** [August 18, 2025, 3:14am UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/19 "2025-08-18T03:14:37Z")

</div>

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](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](https://forums.ankiweb.net/t/cannot-install-latest-internet-connection-error-message/64817/4)

---

<div class="post-metadata">

**Author:** ![ozzeus](https://avatars.discourse-cdn.com/v4/letter/o/f08c70/32.png) [@ozzeus](https://forums.ankiweb.net/u/ozzeus)\
**Post date:** [August 18, 2025, 9:26am UTC](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817/20 "2025-08-18T09:26:41Z")

</div>

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.

[Next page](https://forums.ankiweb.net/t/astrill-prevents-anki-from-starting/64817.md?page=2)
