golang.org/x/sys/unix: unrecognized

安装的过程报错:

package golang.org/x/sys/unix: unrecognized import path "golang.org/x/sys/unix" (https fetch: Get https://golang.org/x/sys/unix?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)

被长城墙了,您可以这这么操作:(参看 http://www.fecshop.com/topic/805)

cd ~/go/src
mkdir -p golang.org/x
cd golang.org/x
git clone https://github.com/golang/sys.git

参考:

https://blog.csdn.net/weixin_42280360/article/details/80649038

http://www.fecshop.com/topic/806

 

你可能感兴趣的:(区块链技术,golang.org)