New to protobuf and grpc, was trying the grpc Quick start tutorial. I installed latest Go (1.15.8) and protobuf (v 3.14.0).
Then I installed protobuf compiler via: go get google.golang.org/protobuf/cmd/protoc-gen-go \ google.golang.org/grpc/cmd/protoc-gen-go-grpc I am able to compile my test.proto to get test.pb.go and test_grpc.pb.go via: protoc --go_out=. --go-grpc_out=. test.proto But compiling my sample code I get errors i.e. go\src\google.golang.org\grpc\credentials\credentials.go:31:2: cannot find package "github.com/golang/protobuf/proto" in any of: GOROOT or GOPATH grpc is trying to import "github.com/golang/protobuf/proto" which doesnt exist, it should be pointing to google.golang.org/protobuf/proto Any idea how to get grpc to point to protobuf v2? Or I need to switch to protobuf v1 (github.com/golang/protobuf) to work with grpc? -- You received this message because you are subscribed to the Google Groups "grpc.io" 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/grpc-io/93ed804b-a20d-41cd-93f7-ab9399391b1fn%40googlegroups.com.
