change default python version terminal code example Example: how to set default python version in macos ln -s -f /usr/local/bin/python3.7 /usr/local/bin/python