我决定使用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
是正确的方法?
brew uninstall libxmlsec1 && brew uninstall libxml2
- ehacinom