Skip to content

Instantly share code, notes, and snippets.

@carlware
Last active August 29, 2015 13:56
Show Gist options
  • Save carlware/9057506 to your computer and use it in GitHub Desktop.
Save carlware/9057506 to your computer and use it in GitHub Desktop.
1. install brew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
2.
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
3. install python
brew install python
4.
export PATH=/usr/local/share/python:$PATH
5. virtualenv virtualenvwrapper
pip install virtualenv virtualenvwrapper
6. Configure ~./bashrc, add
export WORKON_HOME=$HOME/.virtualenvs
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python2.7
source /usr/local/bin/virtualenvwrapper.sh
7. Reload bash
source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment