When I use the protobuf(3.1.0) on my mac to read the .proto file, I alwats got the error:
google.protobuf.message.DecodeError: Error parsing message
f = open('/Users/junhao.wen/Hao/tutorial/Protocol_buffers_tutorial/tutorial/Protocol_buffers_basic_python/address_book/test.proto', 'rb')
address_book.ParseFromString(f.read())