-
Notifications
You must be signed in to change notification settings - Fork 636
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
GLIBC_2.28 not found when using Python after "pip install zmq" on Raspberry Pi 3b #1678
Comments
Progress: Following the instructions in "Building and installation" here:https://github.com/zeromq/pyzmq
(Oops, apparently I was using 3.7.12 here, 3.9.10 above...)
Wow! Works!
Conclusion: Installing with "pip install --no-binary" works, after installing libzmq3-dev. Note that my goal is using pipenv though. I need to check how to use --no-binary with pipenv. |
Next test: Using python 3.9.10 The above steps seem to work with 3.9.10. Now trying to do the same but without installing libzmq3-dev.
Yay! Conclusion: Installing with "pip install --no-binary" works with python 3.9.10 too, even without libzmq3-dev. Takes a loooong time to compile though. |
I think this is a question for the piwheels service, since those are unofficial wheels. The error means that the wheel was built targeting a newer glibc than you have. You can ask there about what the right course of action is. Judging from this PR, I suspect they only build wheels targeting the system Python version for each supported Debian version, so you have a Python 3.9 wheel which targets Bullseye (Debian 11), but you are trying to run it on a too-old Debian 9. FWIW, pyzmq's official wheels now include aarch64 (not armv7l), so if you can run aarch64 you might be able to use the default wheels, which have correct |
Issue description
Error when trying to use the python version of zmq on a Raspberry Pi with Raspbian OS.
The error is "version `GLIBC_2.28' not found"
Environment
Raspberry Pi 3b
libzmq version (commit hash if unreleased): Using pip install, this is what I get: "Collecting zmq
Downloading https://www.piwheels.org/simple/zmq/zmq-0.0.0-py3-none-any.whl (2.0 kB)
Collecting pyzmq
Downloading https://www.piwheels.org/simple/pyzmq/pyzmq-22.3.0-cp39-cp39-linux_armv7l.whl (6.8 MB)"
OS: Raspbian GNU/Linux 9 (stretch)
Using Python 3.9.10 (I installed it with pyenv)
Minimal test code / Steps to reproduce the issue
What's the actual result? (include assertion message & call stack if applicable)
What's the expected result?
The "import zmq" statement should succeed without errors
The text was updated successfully, but these errors were encountered: