Create virtualenv $ pyenv local 2.7 $ virtualenv env Install python packages $ source env/bin/activate $ pip install -r requirements.txt Run $ source env/bin/activate $ python index.py