[Python] "ERROR: Failed building wheel for chroma-hnswlib" trying to install chromadb on Mac /...

Discussão em 'Python' iniciado por Stack, Março 8, 2025.

  1. Stack

    Stack Membro Participativo

    I tried to install chromadb on my .venv and I got the ERROR: Failed building wheel for chroma-hnswlib.

    More info about the error below:

    [Building wheel for chroma-hnswlib (pyproject.toml) ... error
    error: subprocess-exited-with-error

    Building wheel for chroma-hnswlib (pyproject.toml) did not run successfully.
    exit code: 1
    [17 lines of output]
    running bdist_wheel

    *Continues the error (...)*

    clang: error: the clang compiler does not support '-march=native'
    error: command '/usr/bin/clang' failed with exit code 1
    [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for chroma-hnswlib
    Failed to build chroma-hnswlib
    ERROR: Could not build wheels for chroma-hnswlib, which is required to install pyproject.toml-based projects]


    I'm using VS code in a Mac. Python version 3.11.4 in my .venv

    Already tried updating Pip and the Setup tools, didn't worked. Anyone has another solution for that?

    Continue reading...

Compartilhe esta Página