darkwallet / python-obelisk

Pure Python Obelisk + Bitcoin client side library
GNU Affero General Public License v3.0
62 stars 50 forks source link

module is build against old version of pyzmq. #4

Open Bobalot opened 10 years ago

Bobalot commented 10 years ago

I'm trying to build our http gateway, what version of pyzmq do you have? There's some changes in the module layout, meaning i get error messages like.

  File "obelisk/zmq_fallback.py", line 27, in poll
    except zmq.core.error.ZMQError:
exceptions.AttributeError: 'module' object has no attribute 'core'

Ubuntu raring is v2.2.0 http://packages.ubuntu.com/raring/python-zmq, saucy (13.10) is now 13.1.0 and newest in pip/trusty is 14.0.1

The error module is now in the root of the module, so it's just; zmq.error.ZMQError

Since we'll probably be shipping with support for 13.10 onwards, this is the version we should target, I'll update the references tomorrow, just a heads up.

In [6]: zmq.__version__
Out[6]: '14.0.1'