gpt4 book ai didi

macos - 安全 : SecKeychainSearchCopyNext Error - Unable to Install Delve on MacOS

转载 作者:数据小太阳 更新时间:2023-10-29 03:22:57 26 4
gpt4 key购买 nike

我使用以下方法安装了 Delve:

brew install delve

日志显示了一些问题:

brew install go-delve/delve/delve
Updating Homebrew...
==> Installing delve from go-delve/delve
==> Downloading https://github.com/derekparker/delve/archive/v1.0.0.tar.gz
Already downloaded: /Users/user/Library/Caches/Homebrew/delve-1.0.0.tar.gz
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
==> Generating dlv-cert
==> openssl req -new -newkey rsa:2048 -x509 -days 3650 -nodes -config dlv-cert.cfg -extensions codesign_reqext -batch -out dlv-cert.cer -keyout dlv-cert.key
==> [SUDO] Installing dlv-cert as root
==> sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain dlv-cert.cer

它没有安装,因为在运行命令 dlv 时出现错误:

zsh: command not found: dlv

最佳答案

我按照以下步骤解决了这个问题:

cd $HOME/Library/Caches/Homebrew
tar xf delve-*.gz
Go into the new directory (mine is delve-1.0.0)
sh scripts/gencert.sh and enter your password
brew install go-delve/delve/delve

关于macos - 安全 : SecKeychainSearchCopyNext Error - Unable to Install Delve on MacOS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50206350/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com