如何解决“ --go_out:protoc-gen-go:系统找不到指定的文件。”错误

I Create a person.proto and I wanna compile this file to *.go . I installed Package

go get -u github.com/golang/protobuf/protoc-gen-go

After executing the following command

.\protoc.exe --go_out=. person.proto

I get the error below

--go_out: protoc-gen-go: The system cannot find the file specified.

I want to use the buffer protocol, version 2

How can I fix this error?

My proto file:

package communication;

message Person {
  required string name = 1;
  required int32 id = 2;
  optional string email = 3;

  enum PhoneType {
    MOBILE = 0;
    HOME = 1;
    WORK = 2;
  }

  message PhoneNumber {
    required string number = 1;
    optional PhoneType type = 2 [default = HOME];
  }

  repeated PhoneNumber phone = 4;
}