Create Python virtual environment with selected Python version:
$ virtualenv --python=/usr/bin/python2.7 ~/virtualenvs/hello_world
Enable virtual environment:
$ source ~/virtualenvs/hello_world/bin/activate
Install dependencies:
$ pip install -r requirements.txt