Open Pdsantos73 opened 1 week ago
It looks like your cache is on a different file system than your project. Can you set UV_LINK_MODE=copy
?
cc @charliermarsh we might want a fallback for this specific error.
Yes,
I included env variable but de issues persistes
I placed the variable with venv activated.
I recently updated UV to the latest version. This problem only occurs in some dependencies.
I'm using: Windows 11 uv 0.4.18 (7b55e9790 2024-10-01) Python 3.12.6
I created a new project and managed to install it with the uv add "fastapi[standard]" --link-mode=copy
It worked!!
Thanks
I sort of doubt we can react to this error specifically, unless it maps to a clear error kind on io::Error
.
Trying to install fastapi "uv add fastapi[standard]" is showing the following error:
error: Failed to install: certifi-2024.8.30-py3-none-any.whl (certifi==2024.8.30) Caused by: failed to hardlink file from C:\Users\paulodo\AppData\Local\uv\cache\archive-v0\ez_A-yAgnUYbpxYugeHkX\certifi\py.typed to C:\Users\paulodo\OneDrive - Genesys Telecommunications Laboratories, Inc\DeveloperProject\Python\GenesysClould\middleware_a.venv\Lib\site-packages\certifi\py.typed Caused by: The cloud operation cannot be performed on a file with incompatible hardlinks. (os error 396)