Skip to content

[BUG] Error When Using make on Windows #2

@VTMT0905

Description

@VTMT0905

Summary

$ make
Creating virtual environment...
make[1]: Entering directory 'C:/Users/tranv/Documents/CircuitPython_RP2350_v5b'
mkdir -p tools
downloading uv 0.5.24 x86_64-pc-windows-msvc
make[1]: Leaving directory 'C:/Users/tranv/Documents/CircuitPython_RP2350_v5b'
Using CPython 3.13.1
Creating virtual environment at: .venv
Activate with: source .venv/Scripts/activate
Resolved 30 packages in 48ms
░░░░░░░░░░░░░░░░░░░░ [0/30] Installing wheels...                                warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
         If the cache and target directories are on different filesystems, hardlinking may not be supported.
         If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
error: Failed to install: pytest-8.3.2-py3-none-any.whl (pytest==8.3.2)
  Caused by: failed to hardlink file from C:\Users\tranv\AppData\Local\uv\cache\archive-v0\mPiAGbZ6yl0MRnFAawU4Z\pytest-8.3.2.dist-info\AUTHORS to C:\Users\tranv\Documents\CircuitPython_RP2350_v5b\.venv\Lib\site-packages\pytest-8.3.2.dist-info\AUTHORS: The cloud operation cannot be performed on a file with incompatible hardlinks. (os error 396)
make: *** [Makefile:17: .venv] Error 2

Steps to reproduce

Environment

Git Bas on Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions