This is a little guide to installing pyenv with virtualenv so that you never again need to worry about whether you your version of Python and pip packages are working. Pyenv is like virtualenv except that it lets you install any version of Python and then by using the pyenv plugin for virtualenv it is possible to create a box with the Python version you want plus all the packages you need.
Run the command below to git checkout pyenv to your home directory
git clone https://github.com/pyenv/pyenv.git ~/.pyenv