我遵循:http://swarm-guide.readthedocs.io/en/latest/installation.html中的说明,当我运行以下命令时: go get github.com/ error /go-error,它显示了一个错误。有人知道为什么吗?
发布于 2017-05-11 12:00:34
确保您已经安装了Golang1.8。它曾经用1.6,但现在不起作用了。你的错误是什么?
发布于 2017-09-29 03:55:25
在我们知道错误是什么之前,很难说出确切的问题。但是如果您得到的是import path does not begin with hostname错误。您需要将go版本更新为1.8,尽管在文档中提到使用1.7,
curl -O https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.7.3.linux-amd64.tar.gz但它不适用于版本。将上述命令更改为:
curl -O https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.8.3.linux-amd64.tar.gz我已经打开了一个pull请求来更新文档,但是请求尚未被确认。
https://ethereum.stackexchange.com/questions/13082
复制相似问题