golang go get出现"go: missing Git command"异常
发布时间:2020-12-16 18:44:15 所属栏目:大数据 来源:网络整理
导读:今天在windows下面go get一个github上的第三方库时出现异常(也是第一次在windows下面使用go get) 如下: go get github.com/seefan/gossdb 出现如下错误: go: missing Git command. See http: //golang .org/ s/gogetcmd package github.com/seefan/gossdb :
今天在windows下面go get一个github上的第三方库时出现异常(也是第一次在windows下面使用go get) 如下: >go get github.com/seefan/gossdb
出现如下错误: go: missing Git command. See http://golang.org/s/gogetcmd package github.com/seefan/gossdb: exec: "git": executable file not found in %PATH%
原来是没有在环境变量PATH中配置git的bin路径 解决办法: ;C:Program FilesGitbin
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |