doulongsi1831 2018-05-10 12:10
浏览 344

Mac中的Beego安装失败

I am trying to install Beego. I have Go installed in using dmg file. When I run the go env it gives the following output:

GOARCH="amd64"
GOBIN="/Users/achu/Development/go/bin"
GOCACHE="/Users/achu/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/achu/Development/go"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/5_/tcc_r8_d1d58nsf4pstyq0q00000gn/T/go-build781638269=/tmp/go-build -gno-record-gcc-switches -fno-common"

I executed go get github.com/astaxie/beego and when I tried to run bee version command it gave the error

Unknown command 'bee'

Please tell me if I have missed any steps

  • 写回答

2条回答 默认 最新

  • dongqianzhan8325 2018-05-10 12:13
    关注

    Please check your $GOPATH/bin folder

    In your case it's:

    /Users/achu/Development/go
    

    There you will find the binary file of your installed packages. (bee)

    Then run/execute it!

    评论

报告相同问题?

悬赏问题

  • ¥15 winform的chart曲线生成时有凸起
  • ¥15 msix packaging tool打包问题
  • ¥15 finalshell节点的搭建代码和那个端口代码教程
  • ¥15 用hfss做微带贴片阵列天线的时候分析设置有问题
  • ¥15 Centos / PETSc / PETGEM
  • ¥15 centos7.9 IPv6端口telnet和端口监控问题
  • ¥120 计算机网络的新校区组网设计
  • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作
  • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
  • ¥20 海浪数据 南海地区海况数据,波浪数据