nguyenvulong / QA

The Unlicense
0 stars 0 forks source link

[uv pip install] No solution found when resolving dependencies #84

Open nguyenvulong opened 3 months ago

nguyenvulong commented 3 months ago

try the followings in that order, replace the input params with your requirement files

  1. uv pip install -r llama.cpp/requirements/requirements-convert_hf_to_gguf.txt

  2. uv pip install -r llama.cpp/requirements/requirements-convert_hf_to_gguf.txt --prerelease=allow

  3. uv pip install -r llama.cpp/requirements/requirements-convert_hf_to_gguf.txt --prerelease=allow --index-strategy unsafe-first-match

Sources

  1. Read this https://github.com/astral-sh/uv/blob/main/PIP_COMPATIBILITY.md
  2. https://github.com/astral-sh/uv/issues/5681