dousu1900 2015-08-13 04:56
浏览 58
已采纳

错误:/linux_amd64/bytes.a:不是软件包文件

I am trying to install 'vet' tool using go get, and I am getting this error:

root@ubuntu:~/docker# go get code.google.com/p/go.tools/cmd/vet
# code.google.com/p/go.tools/cmd/vet
../go/src/code.google.com/p/go.tools/cmd/vet/asmdecl.go:10: import /root/go/pkg/linux_amd64/bytes.a: not a package file

I tried to find the solution on internet, couldn't find anything helpful. Could you guys please help me figure out what could be causing this? TIA.

  • 写回答

1条回答 默认 最新

  • dongshou6041 2015-08-14 05:39
    关注

    Okay, so the problem was I was using go 1.2.1, I upgraded it to 1.4.2 and everything is working fine now. Thanks, @Ainar-G for pointing it out.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 AT89C51控制8位八段数码管显示时钟。
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 下图接收小电路,谁知道原理
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题