profile
viewpoint

Ask questionsErrors compile: version "go1.12.1" does not match go tool version "go1.10.2"

What happened: Can't get started with kind The command go get -u sigs.k8s.io/kind gives errors

go get -u sigs.k8s.io/kind
# errors
compile: version "go1.12.1" does not match go tool version "go1.10.2"
# internal/race
compile: version "go1.12.1" does not match go tool version "go1.10.2"
# unicode/utf8

What you expected to happen: kind to be in $GOPATH/bin/kind

How to reproduce it (as minimally and precisely as possible): Setup go 1.12.1 on mac and run command Anything else we need to know?:

Environment:

$ go version
go version go1.10.2 darwin/amd64
$ uname -a
Darwin MBP.attlocal.net 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64
  • kind version: (use kind version): latest from master
kubernetes-sigs/kind

Answer questions BenTheElder

Similar issue: https://github.com/golang/go/issues/22814

useful!
source:https://uonfu.com/
answerer
Benjamin Elder BenTheElder @Google Sunnyvale, CA https://elder.dev/ maintaining @kubernetes things, Kubernetes SIG Testing Chair, sigs.k8s.io/kind creator / maintainer
Github User Rank List