I was reverting from a custom pyproject (targeting older pyqt) to the official pyproject (having just “anki-release” as the specified dependency). When doing so, I encountered the following error/warning.
warning: Failed to uninstall package at .venv\Lib\site-packages\orjson-3.11.2.dist-info due to missing `RECORD` file. Installation may result in an incomplete environment.
Uninstalled 2 packages in 16ms
Installed 1 package in 36ms
- orjson==3.11.2
~ orjson==3.10.18
I don’t know how to reproduce the issue outside Anki. So, I can’t report it to uv. But, I noticed that the issue is reproducible with the official Anki launcher without any customization on my end.
After my previous report, I completely uninstalled Anki and then installed Anki 25.09rc1. There was no issue at that time. Now, today, I installed the latest launcher (25.09) and then selected Tools → Upgrade/Downgrade. The terminal output is as follows.
Anki Launcher
1) Latest Anki (press Enter)
2) Choose a version
3) Keep existing version (25.09rc1)
5) Allow betas: on
6) Cache downloads: off
7) Download mirror: off
8) Uninstall
>
Checking for updates...
Updating Anki...
Resolved 49 packages in 1.95s
Prepared 3 packages in 9.43s
error: failed to remove file `C:\Users\User\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\anki/_rsbridge.pyd`: Access is denied. (os error 5)
Install failed: Failed to run (2): C:\Users\User\AppData\Local\Programs\Anki\uv.exe sync --upgrade --no-config --managed-python --python 3.13.5
Error: Failed to run (2): C:\Users\User\AppData\Local\Programs\Anki\uv.exe sync --upgrade --no-config --managed-python --python 3.13.5
Press enter to close...
Pressed Enter to close the terminal and then launched Anki again. The terminal opened again.
Anki Launcher
1) Latest Anki (press Enter)
2) Choose a version
5) Allow betas: on
6) Cache downloads: off
7) Download mirror: off
8) Uninstall
>
Checking for updates...
Updating Anki...
Resolved 49 packages in 1.50s
Prepared 3 packages in 4.35s
warning: Failed to uninstall package at .venv\Lib\site-packages\anki-25.9rc1.dist-info due to missing `RECORD` file. Installation may result in an incomplete environment.
Uninstalled 3 packages in 294ms
Installed 3 packages in 1.32s
- anki==25.9rc1
+ anki==25.9
- anki-release==25.9rc1
+ anki-release==25.9
- aqt==25.9rc1
+ aqt==25.9
Anki will start shortly.
You can close this window.