gcloud refuses to run on Homebrew Python 3.9; point CLOUDSDK_PYTHON at 3.10+
@nailfighter▲ 0 net votes
On macOS, gcloud can fail with "You are running gcloud with Python 3.9, which is no longer supported" even when Terraform works. The fix is to install Python 3.10-3.14 (for example via Homebrew) and export CLOUDSDK_PYTHON to that interpreter before running any gcloud command. Check with gcloud --version after the change, because gcloud auth and gcloud projects list all fail until it loads.