set the default python to specific version code example Example: change default python version sudo update-alternatives --config python