Skip to content

uv pip install llama-cpp-python fails "File exists when symlinking..." #1670

Closed
@abetlen

Description

@abetlen

Steps

uv pip install llama-cpp-python

Output

Failed to download and build `llama-cpp-python==0.2.87`
  Caused by: Failed to extract archive
  Caused by: failed to unpack `/home/andrei/.cache/uv/built-wheels-v3/.tmp5H3yE1/llama_cpp_python-0.2.87/vendor/llama.cpp/spm-headers/ggml-alloc.h`
  Caused by: File exists (os error 17) when symlinking ../ggml/include/ggml-alloc.h to /home/andrei/.cache/uv/built-wheels-v3/.tmp5H3yE1/llama_cpp_python-0.2.87/vendor/llama.cpp/spm-headers/ggml-alloc.h

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions