Always install the homebrew version of Python. Fix #1437.

Otherwise, we sometimes end up using the system Python, for which we'd need to use sudo to install virtualenv. Brew complicates this by yelling at you if you do use sudo. So let's simplify things by always using the homebrew python, which is more up to date anyway.
This commit is contained in:
Erik Rose
2016-02-12 15:47:24 -05:00
parent af8e8fa969
commit 043273960e
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -359,8 +359,8 @@ BootstrapMac() {
brew install dialog
fi
if ! hash pip 2>/dev/null; then
echo "pip not installed.\nInstalling python from Homebrew..."
if [ -z "$(brew list --versions python)" ]; then
echo "python not installed.\nInstalling python from Homebrew..."
brew install python
fi
@@ -14,8 +14,8 @@ BootstrapMac() {
brew install dialog
fi
if ! hash pip 2>/dev/null; then
echo "pip not installed.\nInstalling python from Homebrew..."
if [ -z "$(brew list --versions python)" ]; then
echo "python not installed.\nInstalling python from Homebrew..."
brew install python
fi