0
我试图运行一个使用beego框架的项目。当我尝试运行该项目时,每次都遇到以下问题。找不到命令“蜜蜂”
No command 'bee' found, did you mean:
Command 'bel' from package 'belier' (universe)
Command 'bbe' from package 'bbe' (universe)
Command 'pee' from package 'moreutils' (universe)
Command 'beep' from package 'beep' (universe)
Command 'ree' from package 'ree' (universe)
Command 'beet' from package 'beets' (universe)
Command 'ben' from package 'ben' (universe)
Command 'beer' from package 'gerstensaft' (universe)
Command 'be' from package 'bugs-everywhere' (universe)
Command 'see' from package 'mime-support' (main)
Command 'tee' from package 'coreutils' (main)
Command 'btee' from package 'ruby-bcat' (universe)
Command 'beef' from package 'beef' (universe)
bee: command not found
我的围棋环境:($去ENV)中的.bash_profile
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/MYNAME/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build235821315=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
我的环境declerations:
PATH="$HOME/bin:$HOME/.local/bin:$PATH"
export GOPATH=$HOME/work
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
export PATH="$GOPATH/bin:$PATH"'
如果我做错了什么?我该怎么办?
在你的bash的个人资料转到路径不你可以看到生效。 'go env'会报告与您的bash_profile中导出的不同的'GOPATH'。考虑到'PATH'的改变是可能的(其中有一些是重复的 - 你添加'$ GOPATH/bin'两次)也没有生效。 – Adrian