Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install chromadb (Apple Mac Intel) #19

Open
progone opened this issue Jun 1, 2023 · 0 comments
Open

pip install chromadb (Apple Mac Intel) #19

progone opened this issue Jun 1, 2023 · 0 comments

Comments

@progone
Copy link

progone commented Jun 1, 2023

Screenshot 2023-05-31 at 8 24 57 PM

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`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant