zeromq/pyzmq — Issue #164: Cannot import pyzmq in python 2.6 on Mac OS X 10.6
Author: heylinus
Created: 2012-01-06 18:26:32+00:00
State: open

Installed using MacPorts or Pip, neither works.
Trackback as below:

\>>> import zmq
Traceback (most recent call last):
File "", line 1, in
File "/opt/local/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/zmq/__init__.py", line 38, in
from zmq import core, devices
File "/opt/local/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/zmq/core/__init__.py", line 26, in
from zmq.core import (constants, error, message, context,
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/zmq/core/poll.so, 2): Symbol not found: __PyByteArray_empty_string
Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/zmq/core/poll.so
Expected in: flat namespace
in /opt/local/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/zmq/core/poll.so