http://python-guide-pt-br.readthedocs.io/en/latest/dev/virtualenvs/

INSTALLATION

$ pip install virtualenv
$ pip install virtualenvwrapper

update and source your .profile

$ mkvirtualenv airflow
$ workon airflow

export AIRFLOW_VERSION=1.7.0
pip install airflow==${AIRFLOW_VERSION}