You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The README suggests using "go get -u" to install protobuf. However, it doesn't work.
$ go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
package github.com/golang/protobuf/proto: /Users/paul/Code/go/src/github.com/golang/protobuf is from git@github.com:golang/protobuf, should be from https://github.com/golang/protobuf
package github.com/golang/protobuf/protoc-gen-go: /Users/paul/Code/go/src/github.com/golang/protobuf is from git@github.com:golang/protobuf, should be from https://github.com/golang/protobuf
The text was updated successfully, but these errors were encountered:
It looks like you checked out the repo originally using the native git protocol instead of http. Try deleting $GOPATH/src/github.com/golang/protobuf and trying again. Future updates should stay working.
Deleting src/github.com/golang/protobuf and trying again gave the same error message.
I repro'd in a clean directory too:
cd
mkdir h
cd h
export GOPATH=pwd
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
package github.com/golang/protobuf/proto
imports github.com/golang/protobuf/protoc-gen-go: /Users/paul/h/src/github.com/golang/protobuf is from git@github.com:golang/protobuf, should be from https://github.com/golang/protobuf
If it helps:
$ go version
go version go1.4 darwin/amd64
The README suggests using "go get -u" to install protobuf. However, it doesn't work.
$ go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
package github.com/golang/protobuf/proto: /Users/paul/Code/go/src/github.com/golang/protobuf is from git@github.com:golang/protobuf, should be from https://github.com/golang/protobuf
package github.com/golang/protobuf/protoc-gen-go: /Users/paul/Code/go/src/github.com/golang/protobuf is from git@github.com:golang/protobuf, should be from https://github.com/golang/protobuf
The text was updated successfully, but these errors were encountered: