![見出し画像](https://assets.st-note.com/production/uploads/images/142895900/rectangle_large_type_2_3e4b55521f6dc7b7ca8f0e15f96aec6a.png?width=1200)
Photo by
take_kuroki
gRPC はじめからていねいに
gRPC はじめからていねいに
第1
gRPC はじめからていねいに
第2
miniconda 仮想環境
![](https://assets.st-note.com/img/1717448054624-RClBUw4pDQ.png?width=1200)
conda activate gphrc
conda install grpcio
conda install grpcio-tools
conda list
![](https://assets.st-note.com/img/1717448100191-sMJmcsjbuc.png?width=1200)
第3
Protocol Buffers定義の作成
第4
サーバとクライアントのスタブコード生成
python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. helloworld.proto
第5
サーバの実装
クライアントの実装
第6
稼働確認
python greeter_server.py
第7 結果
うまくいかない
![](https://assets.st-note.com/img/1717448208892-OZxO9l2DUS.png?width=1200)
以上