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.
Sorry, I missed that detail in the original post, but that error message (Access is denied.) appeared in that case too.
I tried to reproduce the issue, but I couldn’t immediately reproduce it with or without addons when using Choose a version to revert using the launcher. This was somewhat unexpected as the issue used to happen with every update.
However, the “Failed to uninstall package due to missing RECORD file” error occurred every time.
Terminal output (without addons):
Anki Launcher
1) Latest Anki (press Enter)
2) Choose a version
3) Keep existing version (25.09.2)
5) Allow betas: on
6) Cache downloads: off
7) Download mirror: off
8) Uninstall
> 2
Checking for updates...
Latest releases: 25.09.2, 25.08b5, 25.07.5, 25.06b7, 25.02.7
Enter the version you want to install:
> 25.09
Updating Anki...
Resolved 49 packages in 2.70s
Prepared 3 packages in 6.05s
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 4 packages in 507ms
Installed 3 packages in 1.43s
- anki==25.9rc1
- anki==25.9.2
+ anki==25.9
- anki-release==25.9.2
+ anki-release==25.9
- aqt==25.9.2
+ aqt==25.9
Anki will start shortly.
You can close this window.
Updating again (without addons)
Anki Launcher
1) Latest Anki (press Enter)
2) Choose a version
3) Keep existing version (25.09)
4) Revert to previous version (25.09.2)
5) Allow betas: on
6) Cache downloads: off
7) Download mirror: off
8) Uninstall
>
Checking for updates...
Updating Anki...
Resolved 49 packages in 1.65s
Prepared 3 packages in 4.05s
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 4 packages in 560ms
Installed 3 packages in 896ms
- anki==25.9rc1
- anki==25.9
+ anki==25.9.2
- anki-release==25.9
+ anki-release==25.9.2
- aqt==25.9
+ aqt==25.9.2
Anki will start shortly.
You can close this window.
Downgrading again (with addons)
Anki Launcher
1) Latest Anki (press Enter)
2) Choose a version
3) Keep existing version (25.09.2)
4) Revert to previous version (25.09)
5) Allow betas: on
6) Cache downloads: off
7) Download mirror: off
8) Uninstall
> 4
Updating Anki...
Resolved 49 packages in 1.50s
Prepared 3 packages in 3.41s
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 4 packages in 565ms
Installed 3 packages in 1.29s
- anki==25.9rc1
- anki==25.9.2
+ anki==25.9
- anki-release==25.9.2
+ anki-release==25.9
- aqt==25.9.2
+ aqt==25.9
Anki will start shortly.
You can close this window.