mac 下使用 brew 安装包报错 error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!
To rerun under ARM use:
arch -arm64 brew install ...
To install under x86_64, install Homebrew into /usr/local.
解决办法:
arch -arm64 brew install xxx
标签:opt,报错,install,under,brew,安装包,ARM
From: https://www.cnblogs.com/a438842265/p/17837087.html