为了账号安全,请及时绑定邮箱和手机立即绑定

正在回答

4 回答

github.com能访问的话就可以直接用 go get 命令安装呀,你先确定能否访问github,然后看看错误信息

0 回复 有任何疑惑可以回复我~
#1

qq_小小zt_bkory4

哦哦哦
2018-10-29 回复 有任何疑惑可以回复我~
#2

qq_小小zt_bkory4 回复 qq_小小zt_bkory4

呃呃呃
2018-10-29 回复 有任何疑惑可以回复我~
#3

断伤含情 提问者

把文档上命令复制到控制台,执行半天没反应
2018-10-29 回复 有任何疑惑可以回复我~
#4

痞子过 回复 断伤含情 提问者

可以先安装gopm
2018-10-29 回复 有任何疑惑可以回复我~
查看1条回复

老师,iris就是下载特别慢,一个.git文件下载半天,一直下载不完,有什么办法吗

0 回复 有任何疑惑可以回复我~

package golang.org/x/net/publicsuffix: unrecognized import path "golang.org/x/net/publicsuffix" (https fetch: Get https://golang.org/x/net/publicsuffix?go-get=1: dial tcp 216.239.37.1:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)

# cd D:\godemo\src\github.com\fatih\structs; git pull --ff-only

fatal: unable to access 'https://github.com/fatih/structs/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

package github.com/fatih/structs: exit status 1

# cd D:\godemo\src\github.com\iris-contrib\blackfriday; git pull --ff-only

fatal: unable to access 'https://github.com/iris-contrib/blackfriday/': Failed to connect to github.com port 443: Timed out

package github.com/iris-contrib/blackfriday: exit status 1

# cd D:\godemo\src\github.com\json-iterator\go; git pull --ff-only

fatal: unable to access 'https://github.com/json-iterator/go/': Operation timed out after 300015 milliseconds with 0 out of 0 bytes received

package github.com/json-iterator/go: exit status 1

# cd D:\godemo\src\github.com\iris-contrib\go.uuid; git pull --ff-only

fatal: unable to access 'https://github.com/iris-contrib/go.uuid/': Failed to connect to github.com port 443: Timed out

package github.com/iris-contrib/go.uuid: exit status 1

# cd .; git clone https://github.com/klauspost/compress D:\godemo\src\github.com\klauspost\compress

Cloning into 'D:\godemo\src\github.com\klauspost\compress'...

fatal: unable to access 'https://github.com/klauspost/compress/': Failed to connect to github.com port 443: Timed out

package github.com/klauspost/compress/gzip: exit status 128

# cd .; git clone https://github.com/microcosm-cc/bluemonday D:\godemo\src\github.com\microcosm-cc\bluemonday

Cloning into 'D:\godemo\src\github.com\microcosm-cc\bluemonday'...

fatal: early EOF

fatal: The remote end hung up unexpectedly

fatal: index-pack failed

error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

package github.com/microcosm-cc/bluemonday: exit status 128

iris装不上

0 回复 有任何疑惑可以回复我~

???

0 回复 有任何疑惑可以回复我~
#1

断伤含情 提问者

把文档上命令复制到控制台,执行半天没反应
2018-10-29 回复 有任何疑惑可以回复我~
#2

一凡 回复 断伤含情 提问者

浏览器访问下 https://github.com/ 试试网络 go get -v 可以显示安装的细节,就可以看到进度了。
2018-10-29 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

iris 安装不了

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信