要调用RPC接口,python提供了一个框架grpc,这是google开源的
rpc相关文档:
https://grpc.io/docs/tutorials/basic/python.html
需要安装的python包如下:
1.grpc安装
pip install grpcio
2.grpc的python protobuf相关的编译工具
pip install grpcio-tools
3.protobuf相关python依赖库
pip install protobuf
4.一些常见原型的生成python类的集合:
pip install googleapis-common-protos
编