pyenv on Ubuntu 16.10 amd64

sudo apt install python3-venv
pyenv install 3.5.2

pyenv on Ubuntu 15.10 i386

sudo apt install libssl-dev libbz2-dev libreadline-dev libsqlite3-dev
pyenv install 3.5.1