Python version >= 3.7
This document uses Python3.7 as an example
apt-get install python3-venv
apt-get install python3.7-dev
python3.7 -m venv venv
source venv/bin/activate
pip install wheel
pip install grpcio
pip install protobuf
pip install grpcio-tools
python -m grpc_tools.protoc -I. --python_out=./kaspa_grpcclient --grpc_python_out=./kaspa-grpcclient ./proto/rpc.proto
python -m grpc_tools.protoc -I. --python_out=./kaspa_grpcclient --grpc_python_out=./kaspa-grpcclient ./proto/message.proto
touch ./kaspa-grpcclient/proto/__init__.py
python setup.py install
python test_import.py