I have protoc installed which I can run via command line. I did install protobuf using conda and when I check in my site-packages in my python environment under ` site-packages/google/protobuf ` I do not see any *.proto files
On Monday, August 20, 2018 at 11:09:10 PM UTC-5, Feng Xiao wrote: > > Have you install protocol compiler, i.e., protoc? These protos should be > installed along with the protoc binary if you get it from our release page. > > On Mon, Aug 20, 2018 at 8:13 PM akshay patil <aksl...@gmail.com > <javascript:>> wrote: > >> I am trying to define my own messages representing python classes that I >> want to serialize. However, I need to import any.proto or timestamp.proto >> in my .proto files to represent certain messages >> >> syntax = "proto3";import "/google/protobuf/any.proto"; >> >> message Test { >> Any var1 = 1;} >> >> >> However, seems like the protobuf installation does not come with any >> .proto files. I am using python 3.5 and have protobuf 3.5.2 installed. I >> tried to look under google/protobuf/ but just found the compiled files >> like ant_pb2.py and timestamp_pb2.py. I am following docs here to import >> any.proto - >> https://developers.google.com/protocol-buffers/docs/proto3#any >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Protocol Buffers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to protobuf+u...@googlegroups.com <javascript:>. >> To post to this group, send email to prot...@googlegroups.com >> <javascript:>. >> Visit this group at https://groups.google.com/group/protobuf. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.