mac M1通过homebrew安装python3报错Error: Command failed with exit 128: git

2022-10-19,,,,

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

然后再次安装,即可。

mac M1通过homebrew安装python3报错Error: Command failed with exit 128: git的相关教程结束。

《mac M1通过homebrew安装python3报错Error: Command failed with exit 128: git.doc》

下载本文的Word格式文档,以方便收藏与打印。