当运行go get github.com/astaxie/beego时,没有任何反应。

huangapple go评论74阅读模式
英文:

Nothing happens when running go get github.com/astaxie/beego

问题

我试图运行go get github.com/astaxie/beego,但是没有任何反应。我已经成功运行了从互联网上找到的示例,并且成功安装了gotour。有任何想法为什么会这样?

英文:

warning: noob question ahead 当运行go get github.com/astaxie/beego时,没有任何反应。

I was trying to run go get github.com/astaxie/beego but it does nothing. I have been running examples I picked up from the internet and I installed gotour successfully. Any idea why?

答案1

得分: 5

原来我的设置弄乱了。我清除了所有内容,并使用这个巧妙的脚本安装了golang:https://github.com/moovweb/gvm。它会处理一切。感谢@peterSO的帮助。

英文:

Turns out my setup was messed up. I purged everything and installed golang using this nifty script: https://github.com/moovweb/gvm. It takes care of everything. Thanks @peterSO for the help.

答案2

得分: 3

如果没有显示任何内容,这并不意味着什么都不起作用。尝试使用“-v”标志进行相同的操作。

go get -v github.com/astaxie/beego

此外,所有下载的文件将保存在您的“~”目录中(在我的情况下是“~/go/src”),而不是当前终端目录。

英文:

If it doesn't show anything, it doesn't mean nothing works. Try doing the same with '-v' flag

go get -v github.com/astaxie/beego

Besides, all your downloads will be saved (most probably) somewhere to your '~' directory ('~/go/src' in my case), not in your current terminal directory

答案3

得分: 0

如果在Ubuntu/Debian上,尝试使用golang软件包来安装go。对我来说,它似乎运行得很好。

英文:

if on Ubuntu/Debian?, try the golang package for installing go. it seems to work for me quite well.

huangapple
  • 本文由 发表于 2013年8月2日 15:02:50
  • 转载请务必保留本文链接:https://go.coder-hub.com/18010699.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定