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