Installation de pyenv sur ubuntu 16.04
      
      
        
        
        
        
Why?
- I really wanted to get things done without installing stuff using sudo as much as possible.
- All I want is to get mkdocs/sphinx
 
 
- Fear of contaminating the system specified python version
 
- From times to times, would like to switch python versions.
 
How?
- Fork the github repo. https://github.com/yyuu/pyenv and follow the instructions in the Readme
- Added the configuration to .zshrc () instead of the mentioned .bash_profile
 
 
- Restart the shell or 'source ~/.zshrc'
 
- pyenv install x.x.x
 
- Get an error message saying libraries are missing.
 
- Refer to https://github.com/yyuu/pyenv/wiki/Common-build-problems. Install the stuff with sudo.
 
- pyenv install again, and it should work.
 
- Switch the python version with pyenv global 2.7.8.
 
Result?
Happiness :)