homebrew是mac平台下非常方便的包管理工具。
用brew install xxx 命令时出现报错提示:
Error: unknown or unsupported macOS version: :mountain_lion
这时用brew doctor命令进行检查,其中出现:
Warning: Some installed kegs have no formulae!
This means they were either deleted or installed with `brew diy`.
You should find replacements for the following formulae:python@2mongodb
这时需要将python@2,mongodb这两个包删除:
brew uninstall python@2 mongodb
接下来就可以顺利地用brew install xxx 命令安装需要的各种包,问题解决!
本文发布于:2024-01-30 04:57:19,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170656184119381.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |