ethermint:找不到命令,尝试安装 ethermint 时?

ethermint: command not found, When attempting ethermint installation?

我正在按照此 github 页面的自述文件中列出的步骤在 tendermint 之上安装 ethermint:https://github.com/tendermint/ethermint,但在步骤 ethermint --datadir ~/.ethermint init setup/genesis.json,然后我收到以下错误:ethermint: command not found

是的,我在尝试安装 ethermint 之前安装了 tendermint。

虽然我为我的问题找到的解决方案包含在上面链接的 GitHub 问题页面中,但我也想把它包含在这里,以方便有同样问题的人。

OK, so I fixed the problem, and it was so infuriating. It turns out that whenever I opened a terminal, then the go version would default to go1.6, even if I was in the go1.8.3 directory. To solve the error, you need to delete the old go version off of your computer, and then use gvm to set the right go version. Thanks to everyone who helped me solve this issue.

检查您的当前目录:

ls

如果 ethermint 不存在你需要重新安装它