HyperLedger Fabric示例-在Windows 10上下载特定于平台的Fabric二进制文件

问题描述 投票:0回答:1

我正在从Windows 10的https://hyperledger-fabric.readthedocs.io/en/release-2.0/install.html安装Fabric-Samples。

[当我尝试运行命令curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s时,下载二进制文件时出现错误。请从下面的终端找到转储。我从完成克隆的fabric-samples文件夹运行此文件。

Clone hyperledger/fabric-samples repo

===> Checking out v2.0.0 of hyperledger/fabric-samples
error: pathspec 'v2.0.0' did not match any file(s) known to git

Pull Hyperledger Fabric binaries

===> Downloading version 2.0.0 platform specific fabric binaries
===> Downloading:  https://github.com/hyperledger/fabric/releases/download/v2.0.0/hyperledger-fabric-msys_nt-10.0-18362-amd64-2.0.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     t0 a r . e x e0:   E r r o r0  o-p-e:n-i-n:g- -a r-c-:h-i-v:e-:-  F-a-i:l-e-d: -t-o   o p e n0 '\\.\tape0'
100     9  100     9    0     0      9      0  0:00:01  0:00:01 --:--:--     4
(23) Failed writing body
==> There was an error downloading the binary file.

------> 2.0.0 platform specific fabric binary is not available to download <----

但是当我在Git-Cmd中运行它时(如HyperLedger-downloading Platform-specific Binaries on Windows 10中的建议,我得到以下信息:

Clone hyperledger/fabric-samples repo

===> Checking out v2.0.0 of hyperledger/fabric-samples
error: pathspec 'v2.0.0' did not match any file(s) known to git

Pull Hyperledger Fabric binaries

===> Downloading version 2.0.0 platform specific fabric binaries
===> Downloading:  https://github.com/hyperledger/fabric/releases/download/v2.0.0/hyperledger-fabric-windows-amd64-2.0.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0tar.exe: Error opening archive: Failed to open '\\.\tape0'
100   656  100   656    0     0    328      0  0:00:02  0:00:02 --:--:--   244
  0 64.3M    0 16943    0     0   2420      0  7:44:40  0:00:07  7:44:33  3929
curl: (23) Failed writing body (0 != 16384)
==> There was an error downloading the binary file.

------> 2.0.0 platform specific fabric binary is not available to download <----

我在fabric-samples文件夹中创建了/ bin和/ config文件夹。请让我知道我在这里做错了。

提前感谢。

hyperledger-fabric hyperledger
1个回答
0
投票

尝试明确指定最新的Fabric版本:

curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s 2.1.0

© www.soinside.com 2019 - 2024. All rights reserved.