3 geth安装,执行make geth后异常,也重新安装了go为1.9.2

image.png

make geth env GO111MODULE=on go run build/ci.go install ./cmd/geth build/ci.go:61:2: cannot find package "github.com/cespare/cp" in any of: /usr/local/go/src/github.com/cespare/cp (from $GOROOT) /home/xing/gocode/src/github.com/cespare/cp (from $GOPATH) build/ci.go:62:2: cannot find package "github.com/ethereum/go-ethereum/crypto/signify" in any of: /usr/local/go/src/github.com/ethereum/go-ethereum/crypto/signify (from $GOROOT) /home/xing/gocode/src/github.com/ethereum/go-ethereum/crypto/signify (from $GOPATH) build/ci.go:63:2: cannot find package "github.com/ethereum/go-ethereum/internal/build" in any of: /usr/local/go/src/github.com/ethereum/go-ethereum/internal/build (from $GOROOT) /home/xing/gocode/src/github.com/ethereum/go-ethereum/internal/build (from $GOPATH) build/ci.go:64:2: cannot find package "github.com/ethereum/go-ethereum/params" in any of: /usr/local/go/src/github.com/ethereum/go-ethereum/params (from $GOROOT) /home/xing/gocode/src/github.com/ethereum/go-ethereum/params (from $GOPATH) Makefile:16: recipe for target 'geth' failed make: *** [geth] Error 1

请先 登录 后评论

最佳答案 2021-07-28 19:34

请先 登录 后评论

其它 1 个回答

Zziko·Wong
请先 登录 后评论
  • 2 关注
  • 0 收藏,3662 浏览
  • 提出于 2021-07-28 11:28