I installed python3 a few days ago, but I need to use version 2.7 for school. When I run in terminal, it shows like below:
RandeMacBook-Pro:~ ranshu$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
RandeMacBook-Pro:~ ranshu$ which python3
/usr/local/bin/python3
I tried to uninstall python3 in Finder but my Mac still used python3.
How do I cleanly uninstall version 3?
Best Answer
rmtree
verb is not available in the default install of Homebrew.You can use
uninstall
verb as:However,
rmtree
can be installed by executing the following:Using
rmtree
, one can cleanly and completely remove a package installed from Homebrew, along with all of its dependencies.