title: Error "protoc-gen-go: program not found or is not executable"
body: <p>I am trying to build a sample application with Go <a href="https://en.wikipedia.org/wiki/GRPC" rel="noreferrer">gRPC</a>, but I am unable to generate the code using &quot;protoc&quot;</p>
  <p>I have installed the required libraries and Go packages using:</p>
  <ol>
  <li><code>go get -u google.golang.org/grpc</code></li>
  <li><code>go get -u github.com/golang/protobuf/protoc-gen-go</code></li>
  </ol>
  <p>I have tried setting the path as well, but no luck.</p>
  <p>Sample &quot;proto&quot; file:</p>
  <pre><code>syntax = &quot;proto3&quot;;
  
  package greet;
  option go_package=&quot;greetpb&quot;;
  
  service GreetService{}
  </code></pre>
  <p>Error message:</p>
  <blockquote>
  <p>&quot;protoc-gen-go: program not found or is not executable <br />
  --go_out: protoc-gen-go: Plugin failed with status code 1.&quot;</p>
  </blockquote>