feedback
clean all environment
sudo apt remove protobuf-compiler
rm /usr/local/include/google -rf
pip uninstall protobuf
pip uninstall grpcio
pip uninstall grpcio-tools
pip install grpcio-tools
grpcio
grpcio-tools
demo运行正常
demo1 运行正常
demo1分成两个proto
python -c "import route_guide1_pb2"
TypeError: Couldn't build proto file into descriptor pool!
Invalid proto descriptor for file "route_guide1.proto":
pdbg/demo1/route_guide0.proto: Import "pdbg/demo1/route_guide0.proto" has not been loaded.
solution:
放弃此技术方案