Created
December 15, 2013 23:26
-
-
Save victorono/7979812 to your computer and use it in GitHub Desktop.
Upgrade python OS X 10.9 with brew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Makes you owner of /usr/local | |
$ sudo chown -R `whoami` /usr/local | |
### Force uninstalls failed python | |
$ brew uninstall -f python | |
### Clear the brew cache | |
$ rm -rf `brew --cache` | |
### Cleanup - cleans up old homebrew files | |
$ brew cleanup | |
### Prune - removes dead symlinks in homebrew | |
$ brew prune | |
### Doctor - runs homebrew checks for common error causing issues | |
$ brew doctor | |
######## | |
### Google and follow anything steps to fix brew doctor might come back with | |
######## | |
### Reinstall python | |
$ brew install python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment