sudo apt install python3-pip
pip3 install grpcio-tools
If not install then you have to upgrade pip3
pip3 install --upgrade pip
No need to do this step since already greet_pb2.py
and greet_pb2_grpc.py
already generated
python3 -m grpc_tools.protoc -I protos --python_out=. --grpc_python_out=. protos/greet.proto
To run server
python3 greet_server.py
To run client
python3 greet_client.py