Mac m1 brew install graphviz报错
·
安装graphviz模块报错
doubleq@doubleq ~ % brew install graphviz
Running `brew update --auto-update`...
Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)!
Please create a new installation in /opt/homebrew using one of the
"Alternative Installs" from:
https://docs.brew.sh/Installation
You can migrate your previously installed formula list with:
brew bundle dump
根据报错提示,需要将命令行从arm指令集切换到x86指令集,因此在命令前加一个arch -x86_64即可正常安装
arch -x86_64 brew install graphviz
如果要在Python中运行utils.plot_model(model),可能还需要一次重启。
参考链接:
https://medium.com/swlh/run-x86-terminal-apps-like-homebrew-on-your-new-m1-mac-73bdc9b0f343
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐


所有评论(0)