#Simsimd build failure

1 messages · Page 1 of 1 (latest)

stone sail
#

Usually this means you got a source distribution and it failed to build. What version of Python are you using? It's possible that it is too old to get a wheel file for simsimd

pearl marsh
#

I am using python3.12.0 right now I updated wheel and setuptools everything

#

Can you recommend the way to install this ?

#

wheel==0.44.0

#

setuptools==75.1.0

stone sail
#

Ah it's because you're on glibc 2.27. Ubuntu 18.04 is end of life, is it possible for you to upgrade?

pearl orchid
#

What's the output of pip debug --verbose? It's probalby long, but is at least one of those tags above, like manylinux1_x86_64, in it?

#

Oh, are you on a 32-bit or ARM linux? No, nevermind, I can tell you are not from the log. It does seem you are using anaconda, though, rather than a normal Python. But it still should accept those tags.

#
docker run --rm -it ubuntu:18.04
apt update && apt install -y curl 
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.cargo/env
uv venv
source .venv/bin/activate
uv pip install pip
pip install simsimd

Ah, I see it, for some reason I was looking at a really old version, it's on 5.4.2

#

pip install simsimd --only-binary=:all: works. 1.4.0 was the last version to support GLIBC 2.27, and it does have Python 3.12 wheels. Newer versions require 2.28+. (Ubuntu 18.04 hit EoL last year)

#

It's really odd, though, that x86_64 and ARM require 2.28+, but the other specal archs, including 32-bit Intel, are 2.17+ (manylinux2014).