Open acwong00 opened 7 years ago
@acwong00
I'm guessing you're trying to install on Sierra. It's a known issues. A source-only release is released to fix related issues. which you could find it here
You could try the following:
GOROOT_BOOTSTRAP
to it.gvm install
again.@tkbky I still got the problem
@Rukeith Do you mind to elaborate on the problem you have and steps you've taken? Have you tried to install other versions of Go?
I have try to manual delete .gvm and /usr/local/go. I reinstall gvm or brew install go
or download pkg from offical website. Every time I run go command, I got this problem. I don't know how to fix this.
AFAIK, there shouldn't be any problem when installing Go via brew
.
Anyway, could you run the following command and show me the output you have.
$ which go
$ go version
$ echo $GOROOT
$ echo $GOROOT_BOOTSTRAP
@tkbky output is below
/usr/local/go/bin/go
go version go1.9.2 darwin/amd64
/usr/local/go
empty
@Rukeith Could you also show me the errors you got?
I don't know why I reopen my terminal it show up this
$ go version
zsh: command not found: go
$ go version zsh: command not found: go
Just check your zsh
configuration (~/.zprofile
or ~/.zshrc
), something might have messed up. Btw, this is not related to this issue, so let's not discuss it here, you may understand the problem & find the answer on SO.
Ok, I will open a new issue for this problem.
I have already install go1.4
Hope for help