2014-06-26 52 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

就是這樣!非常感謝! –