DEV Community

Discussion on: Clean up and remove a Python3 homebrew install

Collapse
 
janthonyfields profile image
Anthony Fields • Edited

Thanks! A note:
If you originally installed python3 via homebrew, you might also want to use

brew doctor

(and prior to homebrew version 1.9.0):

brew cleanup --prune

(or version 1.9.0+)

brew cleanup

(homebrew 1.90 deprecates prune in favor of just cleanup)

...as detailed in the above mentioned link:

I'm new to the mac, and apparently I've made some sort of error. I've been learning python, via tutorials, and between Homebrew, Pip and XCode somehow my versions are all mixed. Pip3 points to python2, so all my python3 trials fail, etc...

I'm researching how to safely remove all versions…