Skip to content

Access denied for uv pip sync on Windows #1368

@jrkerns

Description

@jrkerns

Within a given venv, running uv pip sync <requirement file> fails with Access is denied. This is on Windows.

(venv311) C:\Users\kraken>uv pip sync requirements.txt
error: failed to remove file `\\?\C:\Users\kraken\venv311\Scripts\uv.exe`
  Caused by: Access is denied. (os error 5)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindowsSpecific to the Windows platform

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions