Skip to content

Instantly share code, notes, and snippets.

@victorono
Created December 15, 2013 23:26
Show Gist options
  • Save victorono/7979812 to your computer and use it in GitHub Desktop.
Save victorono/7979812 to your computer and use it in GitHub Desktop.
Upgrade python OS X 10.9 with brew
### 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