The error
compile: version does not match go tool version
This problem is common when you installed go with brew and later you update it using the .pkg from offial golang download page.
The error is commonly raised when you try to go get:
go get -u github.com/Masterminds/glide
compile: version "go1.9" does not match go tool version "go1.9.2"
To solve the issue try:
brew uninstall go
If you get the error that some other dependency requires the go package, you might try:
brew uninstall --ignore-dependencies go