Jump to content

problem with krpc Python client


uliL66

Recommended Posts

In Python 3.6.5 the "import krpc" command returns the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/dist-packages/krpc/__init__.py", line 1, in <module>
    from krpc.connection import Connection
  File "/usr/local/lib/python3.6/dist-packages/krpc/connection.py", line 3, in <module>
    from krpc.encoder import Encoder
  File "/usr/local/lib/python3.6/dist-packages/krpc/encoder.py", line 8, in <module>
    import krpc.schema.KRPC_pb2 as KRPC
  File "/usr/local/lib/python3.6/dist-packages/krpc/schema/KRPC_pb2.py", line 191, in <module>
    options=None, file=DESCRIPTOR),
TypeError: __new__() got an unexpected keyword argument 'file'

My google.protobuf version is 3.0.0.

Anybody with similar experience or an idea how to solve it?

Uli

 

 

Link to comment
Share on other sites

  • 1 month later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...