grpc: UCS2 build of Python 2.7 ends up with incorrect precompiled gRPC Python extension

Hi,

I was trying out a full test of the Python implementation, but the server seems to throw an error. Below are all my steps:

$ wget https://bootstrap.pypa.io/get-pip.py
$ python3 get-pip.py --user
$ python3 -mpip install grpcio --user
$
$ git clone https://github.com/grpc/grpc
$ cd grpc/examples/python/helloworld
$
$ python3 greeter_server.py &
[1] 17724
[pgrosu@eofe5 helloworld]$ Traceback (most recent call last):
  File "greeter_server.py", line 34, in <module>
    import helloworld_pb2
  File "/home/pgrosu/me/grpc/grpc/examples/python/helloworld/helloworld_pb2.py", line 109, in <module>
    from grpc.beta import implementations as beta_implementations
  File "/home/pgrosu/.local/lib/python3.5/site-packages/grpc/beta/implementations.py", line 38, in <module>
    from grpc._adapter import _intermediary_low
  File "/home/pgrosu/.local/lib/python3.5/site-packages/grpc/_adapter/_intermediary_low.py", line 57, in <module>
    from grpc._adapter import _low
  File "/home/pgrosu/.local/lib/python3.5/site-packages/grpc/_adapter/_low.py", line 34, in <module>
    from grpc._cython import cygrpc
SystemError: initialization of cygrpc failed without raising an exception

[1]+  Exit 1                  python3 greeter_server.py
$

Let me know how I can help out.

Thank you, Paul

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 30 (16 by maintainers)

Most upvoted comments

@spf2 Looks like the plan is to cut a patch release some time this week.