ERROR: 1.13.4 is required to build Fabric and you are using . Please update go

1、基础环境: centos7.5 docker 1.13.4 docker-compose 1.26.1 GOPATH 环境变量配置正确 2、问题: 在安装hyperledger fabric 2.0 时,遇到问题如下:

[centos@ip-172-31-37-61 fabric]$ make all
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: go: Command not found
scripts/check_go_version.sh: line 8: go: command not found
ERROR: 1.13.4 is required to build Fabric and you are using . Please update go.
make: *** [check-go-version] Error 2

3、安装的过程:

  1. mkdir gopath/src/github.com/hyperledger
  2. git clone https://github.com/hyperledger/fabric.git
  3. cd fabric && git checkout release-2.0
  4. make all ,之后就报了上述的错误
请先 登录 后评论

2 个回答

张小雨 - 程序猿
请先 登录 后评论
喜冬冬
请先 登录 后评论
  • 1 关注
  • 0 收藏,4101 浏览
  • Jiang Long Wei 提出于 2020-07-03 17:19