我决定使用brew安装python3:brew install python如何撤消此操作?我尝试并得到这个错误:brew uninstall pythonError: Refusing to uninstall /usr/local/Cellar/python/3.7.7because 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
1 回答

BIG阳
TA贡献1859条经验 获得超6个赞
要使用 删除 ,您需要先卸载指示的依赖项,即执行:python
brew
brew uninstall libxmlsec1 && brew uninstall libxml2
之后,您应该能够像最初尝试的那样使用卸载。python
brew uninstall python
您可以使用错误消息 中的建议,但是依赖项将保持安装状态,但无法正常工作,这可能会导致进一步的问题。brew uninstall --ignore-dependencies python
添加回答
举报
0/150
提交
取消