我已经使用http://www.zeromq.org/area:download上给出的步骤在 mac os x 上安装了 zeromq 2.1.11
然后我安装了 pyzmq(python 绑定)
但我收到以下错误:
import zmq
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import zmq
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zmq/__init__.py", line 35, in <module>
from zmq.utils import initthreads # initialize threads
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zmq/utils/initthreads.so, 2): no suitable image found. Did find:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zmq/utils/initthreads.so: no matching architecture in universal wrapper