2014-06-26 51 views
1

我在我的工作项目中使用go.net/html,一切正常。但是,当我尝试在我的笔记本电脑上安装这个包我得到一个错误:无法安装go包go.net/html

[email protected]:~/go$ go get code.google.com/p/go.net/html 
# code.google.com/p/go.net/html 
src/code.google.com/p/go.net/html/token.go:304: undefined: io.ErrNoProgress 

我的系统:

[email protected]:~/go$ uname -a 
Linux termith-laptop 3.2.0-51-generic-pae #77-Ubuntu SMP Wed Jul 24 20:40:32 UTC 2013 
i686 i686 i386 GNU/Linux 

提前感谢!

+0

你的go版本是什么? – JimB

+0

我已经更新了,这是一个问题! –

回答

2

您很有可能拥有过时的Go版本(例如,参见this GitHub issue)。

检查go version的输出并在必要时进行更新。

+0

就是这样!非常感谢! –