When installing gcloud for mac I get this error when I run the install.sh command according to docs here:
install.sh
Traceback (most recent call last): File
In google-cloud-sdk/install.sh go to last line, remove variable $CLOUDSDK_PYTHON_ARGS as below.
google-cloud-sdk/install.sh
$CLOUDSDK_PYTHON_ARGS
"$CLOUDSDK_PYTHON" $CLOUDSDK_PYTHON_ARGS "${CLOUDSDK_ROOT_DIR}/bin/bootstrapping/install.py" "$@" "$CLOUDSDK_PYTHON" "${CLOUDSDK_ROOT_DIR}/bin/bootstrapping/install.py" "$@"