当我运行应用程序超级账本结构时出错 [英] Error when i running the application hyperledger fabric
问题描述
我正在关注本教程: https://github.com/ITPeople-Blockchain/auction 在步骤:建立对等和订购者的二进制文件并启动订购者", 在命令中:make native
I'm following this tutorial: https://github.com/ITPeople-Blockchain/auction and at the step: "Build peer and Orderer binaries and Start Orderer", at the command: make native
我收到以下错误:
Makefile:71:***不进入PATH:检查依赖项".阿雷斯托.
Makefile:71: *** "No go in PATH: Check dependencies". Arresto.
我在VirtualBox上使用Ubuntu,并且正确设置了gopath
I'm using Ubuntu on VirtualBox and I set the gopath correctly
推荐答案
未设置路径.
找到go lang的安装目录. (例如linux)
find installed directory of go lang. (e.g linux )
去哪里
然后将其导出到var以下.
then export below var.
export GOPATH = $ HOME/go导出PATH = $ PATH:$ GOPATH/bin
export GOPATH=$HOME/go export PATH=$PATH:$GOPATH/bin
这些导出的变量范围仅限于当前终端,因此最好将其设置为文件〜/.bashrc
these exported variable scope is limited to current terminal only so better to set into file ~/.bashrc
这篇关于当我运行应用程序超级账本结构时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!