Can't install "latest-ai-development" project dependecies

Hello!
I’m trying to do the quickstart project “latest-ai-development” here on my mac. Everthing went well until the

crewai install

I got an error and tried several things but I haven’t succeeded yet.

× Failed to build chroma-hnswlib==0.7.6
├─▶ The build backend returned an error
╰─▶ Call to setuptools.build_meta.build_wheel failed (exit status: 1)
[stdout]
running bdist_wheel
running build
running build_ext
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -arch arm64 -arch x86_64 -I/Users/reinaldocamargo/.cache/uv/builds-v0/.tmp6AlmjO/include
-I/Library/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c /var/folders/ts/160hvt3s2dn7ff1tx37wkwkh0000gn/T/tmpladltm5e.cpp -o
var/folders/ts/160hvt3s2dn7ff1tx37wkwkh0000gn/T/tmpladltm5e.o -std=c++14
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -arch arm64 -arch x86_64 -I/Users/reinaldocamargo/.cache/uv/builds-v0/.tmp6AlmjO/include
-I/Library/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c /var/folders/ts/160hvt3s2dn7ff1tx37wkwkh0000gn/T/tmp2hxe9l3i.cpp -o
var/folders/ts/160hvt3s2dn7ff1tx37wkwkh0000gn/T/tmp2hxe9l3i.o -fvisibility=hidden
building ‘hnswlib’ extension
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -arch arm64
-arch x86_64 -I/Users/reinaldocamargo/.cache/uv/builds-v0/.tmp6AlmjO/lib/python3.13/site-packages/pybind11/include
-I/Users/reinaldocamargo/.cache/uv/builds-v0/.tmp6AlmjO/lib/python3.13/site-packages/numpy/_core/include -I./hnswlib/ -I/Users/reinaldocamargo/.cache/uv/builds-v0/.tmp6AlmjO/include
-I/Library/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c ./python_bindings/bindings.cpp -o build/temp.macosx-10.13-universal2-cpython-313/python_bindings/bindings.o -O3 -march=native
-stdlib=libc++ -mmacosx-version-min=10.7 -DVERSION_INFO="0.7.6" -std=c++14 -fvisibility=hidden
[stderr]
clang++: error: unsupported argument ‘native’ to option ‘-march=’
error: command ‘/usr/bin/clang++’ failed with exit code 1
hint: This usually indicates a problem with the package or the build environment.
help: chroma-hnswlib (v0.7.6) was included because helloworldcrewai (v0.1.0) depends on crewai (v0.126.0) which depends on chromadb (v0.5.23) which depends on chroma-hnswlib
An error occurred while running the crew: Command ‘[‘uv’, ‘sync’]’ returned non-zero exit status 1.

Is anyone else having this issue? Can someone help me, please?

1 Like

what version of crewai are you using?

For me the same fails with v0.126

help: chroma-hnswlib (v0.7.6) was included because data-first-vc (v0.1.0) depends on crewai (v0.126.0) which depends on chromadb (v0.5.23) which depends on chroma-hnswlib
An error occurred while running the crew: Command ‘[‘uv’, ‘run’, ‘run_crew’]’ returned non-zero exit status 1.

are running the install command in a virtual env?

Yes - clean environment set up for crewai

What happens when you run crewai run instead?

Exactly the same outcome / error message. Upgraded to v0.130.0 in the meantime unfortunately no improvement.

× Failed to build `chroma-hnswlib==0.7.6`

├─▶ The build backend returned an error
╰─▶ Call to setuptools.build_meta.build_wheel failed (exit status: 1)

  [stdout]
  running bdist_wheel
  running build
  running build_ext
  clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /opt/miniconda3/include -arch arm64 -fPIC -O2 -isystem /opt/miniconda3/include
  -arch arm64 -I/Users/alex/.cache/uv/builds-v0/.tmp0D0Ixo/include -I/opt/miniconda3/include/python3.13 -c /var/folders/l6/17wn6d9x1dxdfqh3zysdt7140000gn/T/tmpf6dn8bdo.cpp -o
  var/folders/l6/17wn6d9x1dxdfqh3zysdt7140000gn/T/tmpf6dn8bdo.o -std=c++14
  clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /opt/miniconda3/include -arch arm64 -fPIC -O2 -isystem /opt/miniconda3/include
  -arch arm64 -I/Users/alex/.cache/uv/builds-v0/.tmp0D0Ixo/include -I/opt/miniconda3/include/python3.13 -c /var/folders/l6/17wn6d9x1dxdfqh3zysdt7140000gn/T/tmpc1ebkxuw.cpp -o
  var/folders/l6/17wn6d9x1dxdfqh3zysdt7140000gn/T/tmpc1ebkxuw.o -fvisibility=hidden
  building 'hnswlib' extension
  clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /opt/miniconda3/include -arch arm64 -fPIC -O2 -isystem /opt/miniconda3/include -arch arm64
  -I/Users/alex/.cache/uv/builds-v0/.tmp0D0Ixo/lib/python3.13/site-packages/pybind11/include -I/Users/alex/.cache/uv/builds-v0/.tmp0D0Ixo/lib/python3.13/site-packages/numpy/_core/include -I./hnswlib/
  -I/Users/alex/.cache/uv/builds-v0/.tmp0D0Ixo/include -I/opt/miniconda3/include/python3.13 -c ./python_bindings/bindings.cpp -o build/temp.macosx-11.1-arm64-cpython-313/python_bindings/bindings.o -O3
  -stdlib=libc++ -mmacosx-version-min=10.7 -DVERSION_INFO=\"0.7.6\" -std=c++14 -fvisibility=hidden

  [stderr]
  ./python_bindings/bindings.cpp:1:10: fatal error: 'iostream' file not found
      1 | #include <iostream>
        |          ^~~~~~~~~~
  1 error generated.
  error: command '/usr/bin/clang++' failed with exit code 1

  hint: This usually indicates a problem with the package or the build environment.

help: chroma-hnswlib (v0.7.6) was included because data-first-vc (v0.1.0) depends on crewai (v0.130.0) which depends on chromadb (v0.5.23) which depends on chroma-hnswlib
An error occurred while running the crew: Command ‘[‘uv’, ‘run’, ‘run_crew’]’ returned non-zero exit status 1.