pyzmq: A great run-time problem of pyzmq 16.0.0 on CentOS 6
First I type "pip install pyzmq==16.0.0 "(pip version is 9.0.1) and pip tells me pyzmq is successfully installed. Second when I try to run my python script I would get a run-time error as following:
File "/root/.local/lib/python2.7/site-packages/zmq/__init__.py", line 34, in <module>
from zmq import backend
File "/root/.local/lib/python2.7/site-packages/zmq/backend/__init__.py", line 40, in <module>
reraise(*exc_info)
File "/root/.local/lib/python2.7/site-packages/zmq/backend/__init__.py", line 27, in <module>
_ns = select_backend(first)
File "/root/.local/lib/python2.7/site-packages/zmq/backend/select.py", line 26, in select_backend
mod = __import__(name, fromlist=public_api)
File "/root/.local/lib/python2.7/site-packages/zmq/backend/cython/__init__.py", line 6, in <module>
from . import (constants, error, message, context,
ImportError: /root/.local/lib/python2.7/site-packages/zmq/backend/cython/error.so: undefined symbol: zmq_strerror
I thought I did not install libzmq-devel but after I installed it the problem still exists. BTW, on Ubuntu 12.04 and Ubuntu 14.04 pip install pyzmq==16.0.0 can successfully install pyzmq and no run-time error. Also on Ubuntu when I type “pip install pyzmq==16.0.0 --only-binary :all:” , pip will download a .whl file first and install pyzmq successfully but on CentOS “pip install pyzmq==16.0.0 --only-binary :all:” will tell me “no matching distributions” something like that. It seems that pyzmq 16.0.0 does not have a binary distribution on CentOS.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (6 by maintainers)
FWIW, I also stumble over this problem, on Titan@ORNL. The compute nodes show:
and a naive
pip install pyzmqresults in an unusable moduleAdvice would be appreciated. Thanks, Andre.