You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Access is Denied on Windows with uv sync. OS Code Error -2147024891 #17430
In the corporate environment, in Windows 11, with some security programs running, on a local drive, in a virtual machine, uv sync throws occasional "Access is denied", and in the end of installing dependencies consistently throws "Access is denied" for the editable or non-editable package itself.
It happens in Python 3.11, 3.12, 3.13 for uv >0.9.8, <= 0.9.20.
I've also been hit with this same problem. I've tried with the latest release (0.9.27) and still have the problem.
Thanks for the tip on downgrading - using 0.9.8 has allowed me to continue forward!
I also suspect the issue is some AV software or something at my company, but I don't know any details and don't get any notification about it suppressing anything. The latest version of uv has no issue when run in CI/CD, so it's definitely a Windows or AV issue...though interesting that older versions of uv do work.
I'm using a JFrog Artifactory PyPI mirror with username/password, in case that matters.
Some things worth noting on my end, others might also confirm.
The error seems to occur on installation of a package containing an entrypoint/trampoline, ipython for instance
The error is likely raised before any retries, we are not waiting ~10 seconds to fail out of a retry backoff.
Rerunning uv sync seems to consistently complete the installation of the failed package and will continue until another package containing an entrypoint fails. Repeating this until all packages are installed is a workaround for this issue
If you're experiencing this problem are you're able to consistently reproduce it, please let us know! So far the most likely cause is an interfering AV/EDR product, which is not something that uv can easily control for.
Activity
zanieb commentedon Jan 12, 2026
Can you reproduce on the latest version too?
peroksid commentedon Jan 13, 2026
Only up to 0.9.21. Can't try the newer versions because they are not available in the pypi proxy mirror.
Spectre5 commentedon Jan 28, 2026
I've also been hit with this same problem. I've tried with the latest release (0.9.27) and still have the problem.
Thanks for the tip on downgrading - using 0.9.8 has allowed me to continue forward!
I also suspect the issue is some AV software or something at my company, but I don't know any details and don't get any notification about it suppressing anything. The latest version of uv has no issue when run in CI/CD, so it's definitely a Windows or AV issue...though interesting that older versions of uv do work.
I'm using a JFrog Artifactory PyPI mirror with username/password, in case that matters.
zanieb commentedon Jan 29, 2026
Generally the older versions have been manually flagged as not malicious.
MasterRoshan commentedon Mar 1, 2026
This is a guess: during a wheel script install the remove does not have any retry backoff. An AV could open the file with sharing mode as read only.
uv/crates/uv-install-wheel/src/wheel.rs
Line 489 in 474eb05
MasterRoshan commentedon Jun 12, 2026
Some things worth noting on my end, others might also confirm.
woodruffw commentedon Jun 16, 2026
Triage: deduping with #15968.
If you're experiencing this problem are you're able to consistently reproduce it, please let us know! So far the most likely cause is an interfering AV/EDR product, which is not something that uv can easily control for.
Access is deniederror on windows whenuv sync#15968