python - cybin.ProtocolError: No protocol version header -


i installed python 2.7 , tried use happybase communicate hbase thrift server.

python2.7 test.py

traceback (most recent call last):   file "test.py", line 5, in <module>     key, data in table.rows([b'row01']):   file "/home/qa/happybase/happybase/table.py", line 162, in rows     self.name, rows, columns, {})   file "/usr/local/lib/python2.7/site-packages/thriftpy-0.3.8-py2.7-linux-x86_64.egg/thriftpy/thrift.py", line 160, in _req     return self._recv(_api)   file "/usr/local/lib/python2.7/site-packages/thriftpy-0.3.8-py2.7-linux-x86_64.egg/thriftpy/thrift.py", line 172, in _recv     fname, mtype, rseqid = self._iprot.read_message_begin()   file "thriftpy/protocol/cybin/cybin.pyx", line 439, in cybin.tcybinaryprotocol.read_message_begin (thriftpy/protocol/cybin/cybin.c:6457) cybin.protocolerror: no protocol version header 

there no cybin.c under /usr/local/lib/python2.7/site-packages/thriftpy-0.3.8-py2.7-linux-x86_64.egg

cloned https://github.com/eleme/thriftpy.git

cybin.c isn't there either.

advice on how on error appreciated


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -