Skip to content

Instantly share code, notes, and snippets.

@gcorreaq
Created August 7, 2012 15:33
Show Gist options
  • Save gcorreaq/3286444 to your computer and use it in GitHub Desktop.
Save gcorreaq/3286444 to your computer and use it in GitHub Desktop.
Install Python, pip, virtualenv and virtualenvwrapper in OS X with Homebrew

First, edit your .bash_profile (or create it in your home directory), and add this lines

# For Homebrew
PATH="/usr/local/bin:/usr/local/sbin:$PATH"

# For Homebrew Python 2.7
PATH="/usr/local/share/python:$PATH"

Restart your terminal, so the new .bash_profile is loaded, and execute this commands

brew install python --framework --universal
easy_install pip
pip install virtualenv
pip install virtualenvwrapper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment