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

ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (simsimd) #2167

Closed
ciaoyizhen opened this issue Nov 23, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@ciaoyizhen
Copy link

Describe the bug

I got this error when installing

To Reproduce

Steps to reproduce the behavior:

python:3.12.7
pip: 24.2
gcc:4.8.5

cat /etc/os-release

NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

error

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for simsimd
Failed to build simsimd

[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (simsimd)

Expected behavior

install success

Actual behavior

install error

Screenshots

If applicable, add screenshots to help explain your problem.
image

Additional context

maybe gcc version is error?
what version should I installed?

@ciaoyizhen ciaoyizhen added the bug Something isn't working label Nov 23, 2024
@paulgekeler
Copy link

paulgekeler commented Nov 24, 2024

Some versions of simsimd and albumentations, specifically albucore require different versions for glibc. Checkout this issue for a solution 221 simsimd. I think this might be your problem as well.

@x18-1
Copy link

x18-1 commented Jan 2, 2025

Hmm, I didn't have sudo privileges。What can I do.

@paulgekeler
Copy link

Maybe use conda if possible

@ternaus
Copy link
Collaborator

ternaus commented Jan 3, 2025

Other options could be:

  • Downgrade albucore, it may work
  • Fork and create a custom albucore version, replacing simsimdwith numpy or opencv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants