【发布时间】:2020-03-25 12:59:08
【问题描述】:
我决定使用 brew 安装 python3:brew install python
如何撤消此操作?我试过brew uninstall python 得到这个错误:
Error: Refusing to uninstall /usr/local/Cellar/python/3.7.7
because it is required by libxml2 and libxmlsec1, which are currently installed.
You can override this and force removal with:
brew uninstall --ignore-dependencies python
我尝试取消链接 brew unlink python - 这有效,但我仍然无法卸载。 --ignore-dependencies 是正确的方法吗?
【问题讨论】:
-
@dspencer 请将此作为答案,它有效!
brew uninstall libxmlsec1 && brew uninstall libxml2