1 vagrant hyperledger hyperledger-fabric
我尝试构建Hyperledger Fabric,并已在http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/#option-1-vagrant-development-environment中安装了该项目作为指南。
当我尝试“建立对等体”时,命令显示为:
vagrant @ ubuntu-1404:/opt/gopath/src/github.com/hyperledger/fabric/devenv$ cp:无法统计'build / docker / gotools / bin / protoc-gen-go':没有这样的文件或目录
我查看了文件夹,但没有找到文件protoc-gen-go。是否表明我在设置环境时错过了几个步骤?
步骤1:执行
$go get -u github.com/golang/protobuf/protoc-gen-go
Run Code Online (Sandbox Code Playgroud)
下载protoc-gen-go
步骤2:cp
$ cp $GOPATH/bin/protoc-gen-go build/docker/gotools/bin/
Run Code Online (Sandbox Code Playgroud)
然后继续制作。
| 归档时间: |
|
| 查看次数: |
3178 次 |
| 最近记录: |