目录

Install Lotus on Mac

在Mac电脑上安装Filecoin的客户端Lotus (Install Lotus on Mac)

安装过程

忽略

安装问题

  1. 失败
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
keMacBook-Pro ~ % brew install lotus

Running `brew update --preinstall`...
==> Downloading https://github.com/filecoin-project/lotus/archive/refs/tags/v1.13.0.tar.gz
Already downloaded: /Users/kedong/Library/Caches/Homebrew/downloads/9c4142aad51c88bc3c10b00efb944ff0f3b886a8b393d9f7c5632f9b5a2adf1c--lotus-1.13.0.tar.gz
==> Installing lotus from filecoin-project/lotus
==> git clone https://github.com/filecoin-project/filecoin-ffi.git extern/filecoin-ffi
==> git clone https://github.com/filecoin-project/serialization-vectors.git extern/serialization-vectors
==> git clone https://github.com/filecoin-project/test-vectors.git extern/test-vectors
Last 15 lines from /Users/kedong/Library/Logs/Homebrew/lotus/03.test-vectors:
2022-01-24 04:31:48 +0000

git clone https://github.com/filecoin-project/test-vectors.git extern/test-vectors

Cloning into 'extern/test-vectors'...
error: 7861 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/filecoin-project/homebrew-lotus/issues

These open issues may also help:
Getting [lotus-worker] Error 1 when installing https://github.com/filecoin-project/homebrew-lotus/issues/8

可以看到下载 test-vectors 时出现错误。

先找到工作目录

1
find / -name filecoin-ffi 2>/dev/null