最新的苹果M1或者M2芯片的电脑 在使用brew安装一些库的时候报错。说Arm处理器。。。我报错因为我是从brew官网 下载的pkg文件。看网上说要用国内景象重新下载。
亲测有效
使用国内景象 安装brew
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
刷新zprofile
source /Users/ericli/.zprofile
大功告成
最新的苹果M1或者M2芯片的电脑 在使用brew安装一些库的时候报错。说Arm处理器。。。我报错因为我是从brew官网 下载的pkg文件。看网上说要用国内景象重新下载。
亲测有效
使用国内景象 安装brew
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
刷新zprofile
source /Users/ericli/.zprofile
大功告成