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
Can not install langchain-google-vertexai in Container with linux/arm64.
This doesn't work:
docker run -it --rm --platform="linux/arm64" python:3.12-slim-bookworm pip install 'langchain-google-vertexai==2.0.21'
This works:
docker run -it --rm --platform="linux/amd64" python:3.12-slim-bookworm pip install 'langchain-google-vertexai==2.0.21'
Error Message
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -c _configtest.c -o _configtest.o
failure.
removing: _configtest.c _configtest.o
building 'bottleneck.reduce' extension
creating build/temp.linux-aarch64-cpython-312/bottleneck/src
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/tmp/pip-build-env-8n4_i0tl/overlay/lib/python3.12/site-packages/numpy/_core/include -I/usr/local/include/python3.12 -Ibottleneck/src -c bottleneck/src/reduce.c -o build/temp.linux-aarch64-cpython-312/bottleneck/src/reduce.o -O2
error: command 'gcc' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for bottleneck
Issue
Can not install langchain-google-vertexai in Container with linux/arm64.
This doesn't work:
This works:
Error Message
Reason
The problem is that bottleneck is not supported on ARM64 (see pydata/bottleneck#394). However, there are MacOS ARM64 wheels on PyPI (see https://pypi.org/project/Bottleneck/#files).
The text was updated successfully, but these errors were encountered: