Outbound gRPC from AppEngine Standard Python 2.7

79 views
Skip to first unread message

Dan Massey

unread,
Dec 6, 2019, 8:17:18 AM12/6/19
to Google App Engine

Hi all,

I'm trying to connect from a Python 2.7 AppEngine Standard app to a gRPC server. I've seen in a few places (including this group) that this should be possible.

Unfortunately, I am unable to import grpc, due to an import error (ImportError: cannot import name cygrpc).

Two questions:
1) Should it be possible to send a request from GAE Standard to a gRPC server?
2) If so, does anyone have a code snippet or example of how to do this?

Thanks for your help
Dan

Dan Massey

unread,
Dec 6, 2019, 9:40:52 PM12/6/19
to Google App Engine
To close this thread for future readers -- grpcio is a built in library that can be added through your app.yaml: https://cloud.google.com/appengine/docs/standard/python/tools/using-libraries-python-27
Reply all
Reply to author
Forward
0 new messages