安装python时候提示错误Command failed with exit 128:git
解决方式:
找控制台输入brew -v
输入后会提示你执行两个配置命令(类似下面这两条),直接复制执行就ok了(去你的控制台复制,别复制我这个)!
git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-cask
Homebrew/homebrew-cask
git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-core
Homebrew/homebrew-core