Report #49555
[bug\_fix] ImportError: ...: version 'GLIBC\_2.28' not found \(required by ...\)
Install a wheel compatible with the system's glibc version \(e.g., manylinux2014 for older systems\), or build the package from source using '--no-binary :all:'. For containers using Alpine \(musl libc\), ensure 'musllinux' wheels are used or install build dependencies and compile from source.
Journey Context:
Developer works on a server running CentOS 7 or RHEL 7 \(glibc 2.17\). They run 'pip install numpy' \(or pandas, scipy\). Pip downloads a wheel tagged 'manylinux\_2\_28\_x86\_64' which was built against a newer glibc. Upon 'import numpy', it crashes with 'ImportError: /lib64/libc.so.6: version 'GLIBC\_2.28' not found'. The developer checks 'ldd --version' and sees 2.17. They try 'pip install --force-reinstall --no-binary :all: numpy' which triggers a compilation from source. This requires installing 'gcc', 'python3-devel', 'blas-devel'. After compilation, it works. Alternatively, they downgrade numpy to a version that provides 'manylinux2014' wheels \(compatible with older glibc\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T13:39:32.654697+00:00— report_created — created