bash: bee: command not found
来源:互联网 发布:80年代网络歌曲 编辑:程序博客网 时间:2024/06/08 16:05
今天用git运行项目,出现下面问题:
$bee run
bash: bee: command not found
查看了别人的解决方法:
首先出现这个问题应该是环境变量没有配好。
那么!!!!
1、不能识别bee命令,手动配置GOPATH,GOROOT在安装go的过程中会自动添加:
GOROOT即go编译器的安装目录
path:添加go编译器安装目录下的bin目录放入
2、git工具已经安装,能够使用命令行,安装git的时候会自动把gopath路径下的bin加到path中,下载beego,
3、打开gitbash,输入 go get github.com/astaxie/beego 。稍等片刻即可在GOPATH的src目录下看到有/github.com/astaxie/beego目录。
4、在gitbash中输入 go get github.com/beego/bee 。稍等片刻即可在GOPATH的src目录下看到有/github.com/beego/bee目录,,同时有很多依赖包被下载添加到/github.com目录下。
5、在任意目录下输入bee
如果还是 bee bash: bee: command not found 请你把GOPATH/bin下的bee.exe 拷贝到 GOROOT/bin里面,也就是你的go语言环境变量的bin里面,然后运行 bee
我是第五种方法解决的。
如果你还是没有解决,那就得看看你有木有配环境变量啦。
阅读全文
0 0
- bash: bee: command not found
- $ bee bash: bee: command not found
- bee: command not found
- bash:command not found
- bash:command not found
- bash:command not found
- bash:command not found
- bash: ***: command not found
- -bash: id: command not found -bash: tty: command not found
- bash: id : command not found -bash: tty: command not found
- -bash: sz: command not found、-bash: rz: command not found
- -bash: mkfir: command not found -bash: wget: command not found
- bash: groupadd: command not found
- bash: groupadd: command not found
- bash: ifconfig: command not found
- bash:fdisk:command not found
- bash: chkconfig: command not found
- bash: groupadd: command not found
- 高通(Qualcomm)LK源码深度分析(三)
- fdk-aac使用
- .NET程序中的开发和运行基本环境是什么?
- 记一次git分支引出来的麻烦
- telnet或SQLplus下命令输入错误如何删掉重新输入
- bash: bee: command not found
- 摄像机跟随主角
- Android性能优化
- 在轮播图上放置黑色阴影背景
- JavaScript的变量作用域和闭包操作
- jedispool 连 redis 高并发卡死
- 13个实用的Apache Rewrite重写规则
- 面向切面编程
- WKWebView返回向上移(64点)