mac M1通过homebrew安装python3报错Error: Command failed with exit 128: git
Posted on 2022-06-25 16:53 罗芭Remoo 阅读(591) 评论(0) 编辑 收藏 举报fatal: not in a git directory
Error: Command failed with exit 128: git
只需要运行
git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-core
git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-cask
然后再次安装,即可。