I decided to install python3 using brew: brew install python
How do I undo this? I tried brew uninstall python and got this error:
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
I tried unlinking it brew unlink python - which worked, but am still unable to uninstall. Is the --ignore-dependencies the correct way to do this?