I’ve had a few people ask me lately how I setup my local python environment.
I am using iterm2 (v3.0.0) on OSX. That means I am using homebrew and I installed
curl via brew.
Install the python package manager pip
Install the virtualenvwrapper package. It lets you manage python virtual environments easier than just using virtualenv
sudo pip install virtualenvwrapper
Create working directory and project directory
Make virtual environment (aka isolated dependencies)
Create file to test with:
get out of the file by pressing
Esc on your keyboard then typing
output should be: