how to upgrade Python from 3.6 to 3.7 code example Example: how to upgrade 3.6 to 3.7 on linux sudo apt-get install python3.7