It looks like protoc needs to be added to your path environment variable.

On Thursday, October 1, 2020 at 7:17:14 AM UTC-4 [email protected] wrote:

> 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/156936c5-4cf9-4fd8-a2fe-a3d87517ecf5n%40googlegroups.com.

Reply via email to