go get github.com/Shopify/sarama

行走的大神 · · 3775 次点击 · · 开始浏览    
这是一个创建于 的文章,其中的信息可能已经有所发展或是发生改变。

go get github.com/Shopify/sarama安装失败


我在window10系统上安装go get github.com/Shopify/sarama出现了以下问题。

unrecognized import path "golang.org/x/crypto/md4": https fetch: Get "https://golang.org/x/crypto/md4?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.

unrecognized import path "golang.org/x/crypto/pbkdf2": https fetch: Get "https://golang.org/x/crypto/pbkdf2?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.

试错过程中

go get -u github.com/gpmgo/gopm

gopm get github.com/Shopify/sarama

[GOPM] 04-29 05:54:53 [ERROR] github.com/Shopify/sarama: fail to make request: Get "https://gopm.io/api/v1/revision?pkgname=github.com/Shopify/sarama": dial tcp: lookup gopm.io: getaddrinfow: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server.


安装gopm还是报错这个不知道咋回事

好吧最后尝试成功了



有疑问加站长微信联系(非本文作者)

本文来自:简书

感谢作者:行走的大神

查看原文:go get github.com/Shopify/sarama

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

3775 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传