-
Notifications
You must be signed in to change notification settings - Fork 899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting "access is denied" in user folder when running "uv tool install" on Windows 10 #10030
Comments
I seem to have seen this issue before. Can you tell me the output of running the following command on powershell? Get-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' It's just a command to read the registry, so it doesn't require administrator privileges. |
Here's what I get: LongPathsEnabled : 0 |
I'm not sure if this issue is triggered by an overly long path. Perhaps you could try enabling long paths. Edit: |
I tried enabling long paths, but I still get the same error. There are no subfolders in |
Could you capture some trace logs? $Env:RUST_LOG = 'uv=trace'
uv tool uninstall --python 3.12 posting |
I tried the posting app with uv on my Windows 10 machine. The author of
posting
recommends running the following command:uv tool install --python 3.12 posting
When I run that in a regular Windows Terminal or a Windows Terminal with admin privileges, I get the following error:
I tried this on two different Windows 10 machines with the same result. I tried running
uv cache clean
and re-ran the above command with the same result.I am using uv 0.5.10 (37b11dd 2024-12-17)
The text was updated successfully, but these errors were encountered: