Hi Benjamin, The failing test is not fixed yet, but you can run "python setup.py install" in the root of the repository to install the python bindings.
Looks like this needs to be documented :) Cheers, Aaron On 5 February 2016 at 02:34, Benjamin Henrion <[email protected]> wrote: > Hi, > > Czmq python binding test fail, I have got the same error with either > python2.7 or python3.4 (see below). > > Also I would like to know how to properly install this binding on my > system, ">>> import czmq" works when I am in the current directory, > does not work when I am outside. > > https://github.com/zeromq/czmq/issues/1345 > > $ python2.7 test.py > ........E. > ====================================================================== > ERROR: test_zmsg (__main__.TestCZMQ) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "test.py", line 708, in test_zmsg > buffer_size = msg.encode(buffer) > File > "/home/zoobab/soft/czmq-master/bindings/python/czmq/_czmq_ctypes.py", > line 4357, in encode > return lib.zmsg_encode(self._as_parameter_, > byref(c_void_p.from_param(buffer))) > ArgumentError: argument 2: <type 'exceptions.TypeError'>: expected > LP_c_void_p instance instead of pointer to LP_c_byte > > ---------------------------------------------------------------------- > Ran 10 tests in 2.947s > > FAILED (errors=1) > > -- > Benjamin Henrion <bhenrion at ffii.org> > FFII Brussels - +32-484-566109 - +32-2-3500762 > "In July 2005, after several failed attempts to legalise software > patents in Europe, the patent establishment changed its strategy. > Instead of explicitly seeking to sanction the patentability of > software, they are now seeking to create a central European patent > court, which would establish and enforce patentability rules in their > favor, without any possibility of correction by competing courts or > democratically elected legislators." > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
