golang.org/x/sys/unix: unrecognized

王一洋發表於2019-04-04

安裝的過程報錯:

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

 

相關文章