Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 brew 工作,但随着最后一次 brew 更新,这个错误开始出现:
Cannot install in Homebrew on Intel processor in ARM default prefix
问题是由于 brew 安装的位置:/opt/homebrew,我猜它已在最新的 brew 更新中配置为“ARM”类型安装的“前缀”。
/opt/homebrew
为了解决这个问题,我将完整的安装移到了“/usr/local/homebrew”,这为我解决了这个问题。
尽管这使某些公式过时(android-toolkit)。
brew doctor给出了有关 brew 前缀的警告,解决了上述错误。
brew doctor