brew 安装python3提示:no Git repository

执行brew -v 命令看看是不是有两个提示,你的 homebrew-core和homebrew-cask目录 被git认为不是一个安全的目录,需要手动添加


如果出现上述报错,执行git命令即可解决!(亲测有效)

git config --global --add safe.directory 你的homebrew-core路径
git config --global --add safe.directory 你的homebrew-cask路径

猜你喜欢

转载自blog.csdn.net/qq_45088552/article/details/126804794
今日推荐