You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after preferring this step:
pip install -r requirements.txt
next step:
pip install chromadb
triggered the error in the screenshot or some of the output below:
`Collecting sniffio>=1.1 (from anyio<5,>=3.4.0->starlette<0.28.0,>=0.27.0->fastapi>=0.85.1->chromadb)
Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Building wheels for collected packages: hnswlib
Building wheel for hnswlib (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for hnswlib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
running bdist_wheel
running build
running build_ext
creating var
creating var/folders
creating var/folders/74
creating var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn
creating var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn/T
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c /var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn/T/tmp2jdfgizr.cpp -o var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn/T/tmp2jdfgizr.o -std=c++14
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c /var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn/T/tmp1z1wcoh9.cpp -o var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn/T/tmp1z1wcoh9.o -fvisibility=hidden
building 'hnswlib' extension
creating build
creating build/temp.macosx-10.9-universal2-cpython-311
creating build/temp.macosx-10.9-universal2-cpython-311/python_bindings
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/private/var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn/T/pip-build-env-7d_4mk1p/overlay/lib/python3.11/site-packages/pybind11/include -I/private/var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn/T/pip-build-env-7d_4mk1p/overlay/lib/python3.11/site-packages/numpy/core/include -I./hnswlib/ -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c ./python_bindings/bindings.cpp -o build/temp.macosx-10.9-universal2-cpython-311/./python_bindings/bindings.o -O3 -march=native -stdlib=libc++ -mmacosx-version-min=10.7 -DVERSION_INFO="0.7.0" -std=c++14 -fvisibility=hidden
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 hnswlib
Failed to build hnswlib
ERROR: Could not build wheels for hnswlib, which is required to install pyproject.toml-based projects`
The text was updated successfully, but these errors were encountered:
after preferring this step:
pip install -r requirements.txt
next step:
pip install chromadb
triggered the error in the screenshot or some of the output below:
`Collecting sniffio>=1.1 (from anyio<5,>=3.4.0->starlette<0.28.0,>=0.27.0->fastapi>=0.85.1->chromadb)
Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Building wheels for collected packages: hnswlib
Building wheel for hnswlib (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for hnswlib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
running bdist_wheel
running build
running build_ext
creating var
creating var/folders
creating var/folders/74
creating var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn
creating var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn/T
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c /var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn/T/tmp2jdfgizr.cpp -o var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn/T/tmp2jdfgizr.o -std=c++14
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c /var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn/T/tmp1z1wcoh9.cpp -o var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn/T/tmp1z1wcoh9.o -fvisibility=hidden
building 'hnswlib' extension
creating build
creating build/temp.macosx-10.9-universal2-cpython-311
creating build/temp.macosx-10.9-universal2-cpython-311/python_bindings
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/private/var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn/T/pip-build-env-7d_4mk1p/overlay/lib/python3.11/site-packages/pybind11/include -I/private/var/folders/74/yww65htx3dsg1jp0jd03gdvh0000gn/T/pip-build-env-7d_4mk1p/overlay/lib/python3.11/site-packages/numpy/core/include -I./hnswlib/ -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c ./python_bindings/bindings.cpp -o build/temp.macosx-10.9-universal2-cpython-311/./python_bindings/bindings.o -O3 -march=native -stdlib=libc++ -mmacosx-version-min=10.7 -DVERSION_INFO="0.7.0" -std=c++14 -fvisibility=hidden
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 hnswlib
Failed to build hnswlib
ERROR: Could not build wheels for hnswlib, which is required to install pyproject.toml-based projects`
The text was updated successfully, but these errors were encountered: