Python 3 installation steps Install pyenv curl https://pyenv.run | bash Install dependencies sudo apt install build-essential zlib1g-dev libffi-dev libssl-dev Install Python pyenv install 3.7.3 Set system python version pyenv global 3.7.3