mac上 go-delve 安装出现The specified item could not be found in the keychain 解决方法

Posted shaotine

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mac上 go-delve 安装出现The specified item could not be found in the keychain 解决方法相关的知识,希望对你有一定的参考价值。

安装go语言的编译环境,在安装到 delve时候出现如下错误:

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/go-delve/homebrew-delve/issues

These open issues may also help:
Upgrade to delve fails https://github.com/go-delve/homebrew-delve/issues/20
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain. https://github.com/go-delve/homebrew-delve/issues/19
Mac install error, OS version 10.12.6, go version go1.8.3 https://github.com/go-delve/homebrew-delve/issues/17
The specified item could not be found in the keychain https://github.com/go-delve/homebrew-delve/issues/16
Issue updating to 0.12.2 https://github.com/go-delve/homebrew-delve/issues/12
dlv-cert: no identity found https://github.com/go-delve/homebrew-delve/issues/1
Executable does not get installed on MacOS https://github.com/go-delve/homebrew-delve/issues/18
deps: do not install go if it‘s available on the system https://github.com/go-delve/homebrew-delve/issues/9

 解决方法:

1. cd $HOME/Library/Caches/Homebrew

2. 执行 tar xf delve-*.gz

3 cd 到解压之后的文件夹路径中 (我的是 delve-1.0.0-rc.1 )

4. 执行 sh scripts/gencert.sh

5. 最后在重新 执行 brew install go-delve/delve/delve

一切搞定。安装成功

 

以上是关于mac上 go-delve 安装出现The specified item could not be found in the keychain 解决方法的主要内容,如果未能解决你的问题,请参考以下文章

linux下安装go调试器delve

代码调试 dlv安装和使用

mac scoretree 登录不上怎么办

mac上安装pil报错: ERROR: Could not find a version that satisfies the requirement pil (from versions: non

在mac下如何用the unarchiver压缩文件?

Mac book pro打开docker出现The data couldn’t be read because it is missing