i got an error while trying to install python throught homebrew. brew says what it failed to link python , here is output:
Linking /usr/local/Cellar/python/2
Did you try brew link --overwrite python? This worked for me without having to uninstall python - see this question for more details.
brew link --overwrite python