为了账号安全,请及时绑定邮箱和手机立即绑定

无法运行goinstall

无法运行goinstall

Go
汪汪一只猫 2021-05-06 21:17:51
goinstall go-tour.googlecode.com/hg/gotour运行上面的命令会给我以下消息..goinstall: encoding/json: go/build: package could not be found locallygoinstall: code.google.com/p/go-tour/pic: cannot download: code.google.com/p/go-tour/picgoinstall: code.google.com/p/go-tour/tree: cannot download: code.google.com/p/go-tour/treegoinstall: code.google.com/p/go-tour/wc: cannot download: code.google.com/p/go-tour/wcgoinstall: os/exec: go/build: package could not be found locallygoinstall: net/http: go/build: package could not be found locally我知道路径设置有问题..我也检查了这篇文章export PATH=$PATH:/home/sakthi/sakthig/code/my/go/go/binexport GOROOT=/home/sakthi/sakthig/code/my/go/goexport GOPATH=$GOROOT/bin这是我当前的路径设置。有什么帮助吗?
查看完整描述

3 回答

  • 3 回答
  • 0 关注
  • 243 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信