how to upgrade python 3.6 to python 3.7 without sudo? code example Example: update python ubuntu $ sudo apt update -y $ sudo apt install python3.7