Caused by: The cloud operation cannot be performed on a file with incompatible hardlinks. (os error 396)
C:\Users\anant\OneDrive\Desktop\Agent python\chatbot-agent>uv add ruff Resolved 38 packages in 349ms Prepared 1 package in 1.54s error: Failed to install: httpx-0.27.2-py3-none-any.whl (httpx==0.27.2) Caused by: failed to hardlink file from C:\Users\anant\AppData\Local\uv\cache\archive-v0\fG93Erur8OMDKBPFItH9s\httpx_api.py to C:\Users\anant\OneDrive\Desktop\Agent python\chatbot-agent.venv\Lib\site-packages\httpx_api.py Caused by: The cloud operation cannot be performed on a file with incompatible hardlinks. (os error 396)
Let me know the solution for this issue?
Unfortunately no, I don't, it's something to do with your operating system and setup. You can set --link-mode copy or UV_LINK_MODE=copy.
Hi there, I was getting the same issue when installing httpx or requests on Windows 11. But now I'm getting this error.
Any ideas?
uv cache clean
This will probably work
uv cache clean
This will probably work
This worked for me