出现 cannot download, $GOPATH not set. For more details see: go help gopath

执行安装

sudo go get github.com/nsf/gocode

提示:

cannot download, $GOPATH not set. For more details see: go help gopath

解决方案:

sudo env GOPATH=/Users/blon/go go get github.com/nsf/gocode

posted @ 2014-07-25 23:28  Blon  阅读(5278)  评论(0编辑  收藏  举报