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