Skip to content

uv pip install support #4510

@zhougengxian

Description

@zhougengxian

uv is a new, fast package management tool. However, faiss can only be installed by conda. For python3.11, it cannot be installed directly now. Please support faiss installation by uv.

$ uv pip install faiss-gpu
× No solution found when resolving dependencies:
╰─▶ Because all versions of faiss-gpu have no wheels with a matching Python ABI tag (e.g., cp311) and you require faiss-gpu, we can conclude that your
requirements are unsatisfiable.

  hint: You require CPython 3.11 (`cp311`), but we only found wheels for `faiss-gpu` (v1.7.2) with the following Python ABI tags: `cp36m`, `cp37m`,
  `cp38`, `cp39`, `cp310`

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions