Hello every one, I am trying to compile .proto file using python, steps i followed 1.installed python, 2. installed protobuff 3.create myproto.proto 4. protoc --python3_out=gen smy proto.proto 5protoc --js_out=import_style=commonjs,binary:. myproto.proto
after step 4, , error on console, protoc the following : * The term 'protoc' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path * *was included, verify that the path is correct and try again.* *At line:1 char:1* *+ protoc --python3_out=gen station_heart_beat_msg.proto* *+ ~~~~~~* * + CategoryInfo : ObjectNotFound: (protoc:String) [], CommandNotFoundException* * + FullyQualifiedErrorId : CommandNotFoundException* Help would be more appreciated -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/694d65f2-797b-4c2d-9f35-4c66272425ddn%40googlegroups.com.
