There was an error running 'go version' command: exec: go: executable file not found in %PATH
go git 安装好(安装在D盘):
步骤一、点击“Git Bash”,输入“go get github.com/astaxie/beego”,等一会儿即可。安装完成后,在GOPATH路径下,我这里GOPATH的路径是“D:\GOPATH\”,在“D:\GOPATH \pkg\github.com\”和“C:\ GOPATH \src\github.com\”路径下能看到astaxie文件夹,还有下级beego文件夹。
步骤二、安装bee工具(框架生成工具)
为了方便的生成框架,点击“Git Bash”,输入“go get github.com/beego/bee ”,同样也是等一会儿即可。完成后,在“C:\mygo\src\github.com\”路径下astaxie文件夹能看到下级bee文件夹。
同时,在GOPATH路径下的src同级的bin中,有“bee.exe”文件。
关闭掉git bash 窗口,使用windows cmd 窗口,不然会报错:
2018/08/24 19:09:49 FATAL ▶ 0001 There was an error running 'go version' command: exec: "go": executable file not found in %PATH%
There was an error running 'go version' command: exec: go: executable file not found in %PATH相关推荐
- command exec make executable file not found in %PATH%
https://sap.github.io/cloud-mta-build-tool/download/ https://sap.github.io/cloud-mta-build-tool/make ...
- 解决执行Command报错executable file not found in $PATH
执行exec.Command时出现该问题. 执行模式为: cmd := exec.Command(name, args...) 解决之道即将命令和参数分开传递 最后形式如: cmd := exec.C ...
- Error running docker container: starting container process caused “exec: \“python\“: executable file
问题:miniconda3虚拟环境创建python环境,使用下面Dockerfile编译docker镜像 FROM cuda10.2_pt1.5:09061 COPY . /workspace WOR ...
- VS Code的Error: Running the contributed command: ‘_workbench.downloadResource‘ failed解决
VS Code的Error: Running the contributed command: '_workbench.downloadResource' failed解决 转自:https://bl ...
- 项目启动报错 Error running ‘xxxApplication‘;Command line is too long,Shoerten command line for........
springboot启动项目报错 启动项目的时候,一直启动不了,报启动类名字太长.如下图所示 Error running'XxxApplication': Command line i stoo lo ...
- IDEA debug报错Error running AxPersonListTest.test. Command line is too long. Shorten the command line
IDEA debug时报错 Error running AxPersonListTest.test. Command line is too long. Shorten the command lin ...
- Error running 未命名. Command line is too long. Shorten the command line via JAR manifest or via a clas
运行 未命名 时出错.命令行过长. 通过 JAR 清单或通过类路径文件缩短命令行,然后重新运行 方法一: 1.修改项目下 .idea\workspace.xml 2.找到标签 <componen ...
- Debug pycharm: Error running *.py, cannot run program, No such file or pragram
问题 pycharm运行时报错,无法运行 原因 pycharm在选择环境时,会讲配置保存下来.下次自动用,如果后来环境变了或者找不到了,pycharm根据保存的配置来自然就报错找不到了 解决方法 删除 ...
- Intellig idea导入项目第一次运行报错- Error running ‘Application‘: Command line is too long—— 解决方法
Intellig idea导入项目第一次运行报错 Error running 'Application': Command line is too long. Shorten command line ...
最新文章
- 男女洗澡前后区别,太形象了!
- 一文读懂计算计仿真技术
- 005_控制器和动作
- 1.3 程序示例--梯度下降-机器学习笔记-斯坦福吴恩达教授
- 同理心是通往成功架构的桥梁
- docker 打包mysql_基于docker部署mysql的数据持久化问题
- EasyUI学习总结(一)——EasyUI入门
- r语言安装ipsolve_R语言矩阵操作之矩阵运算
- istio sidecar流量接管_Istio是个啥?看完此文彻底搞懂(赠书)
- java多线程基础(synchronize关键字)
- Simple Mail Transfer Protocol --- SMTP协议
- 40句常用Linux命令总结(手写板)
- linux tomcat war解压吗,Tomcat 何时解压war包
- 高数习题第七章总练习题(下)
- C++黑客项目:U盘病毒免疫器
- oreo授权系统V1.1开源版
- hdu 3987 Harry Potter and the Forbidden Forest
- idou老师教你学Istio 16:如何用 Istio 实现微服务间的访问控制
- 历史论文比赛TCR介绍
- 陈省身文集51——闭黎曼流形高斯-博内公式的一个简单的内蕴证明
热门文章
- flink1.12在ubuntu下面的编译记录(转载+自己整理)
- 百度网盘Linux客户端不停缓冲打不开
- 三星note4 9100自动关机问题以及空间不够的问题研究。。。。
- 大话数据结构11:队列 链表结构
- Linux中查询显卡硬件的几种命令(记录)
- android word转html标签,如何将Word转换为网页html格式的方法(附代码清理方法)
- php迭代器作用,PHP迭代器介绍
- [转]写好shell脚本的13个技巧
- Linux下套接字详解(补充)--OSI七层与TCP/IP五层网络架构详解
- JAVA随机数之多种方法从给定范围内随机N个不重复数