Setting Up a New Mac Python

(1) Install Brew (check http://brew.sh)
     (1.5) brew install python (Optional: This will use latest python instead of the one that came with OSX)
(2) Install pip (sudo easy_install pip)
(3) Install virtualenv (pip install virtualenv)
(4) Install virtualenvwrapper (pip install virtualenvwrapper)
(5) Initialize virtualenvwrapper:
Add these lines on .bashrc
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Devel
source /usr/local/bin/virtualenvwrapper.sh

 After editing, run  
source ~/.bashrc).
 

About

Search

PISIKA Copyright © 2009