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.

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

报告相同问题?

悬赏问题

  • ¥15 r语言蛋白组学相关问题
  • ¥15 Python时间序列如何拟合疏系数模型
  • ¥15 求学软件的前人们指明方向🥺
  • ¥50 如何增强飞上天的树莓派的热点信号强度,以使得笔记本可以在地面实现远程桌面连接
  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 STM32驱动继电器