When I run the gcloud init
command and log into my Google user account I receive the error
ERROR: gcloud crashed (AttributeError): 'Credentials' object has no attribute 'quota_project_id'
I've installed google-cloud-sdk with homebrew cask:
brew cask install google-cloud-sdk
source "/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc"
source "/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc"
Installing with install.sh
from google-cloud-sdk-291.0.0-darwin-x86_64.tar.gz and running the gcloud init command again solves the issue. Any idea why the homebrew version isn't working?
Installation information:
$ gcloud -v
Google Cloud SDK 291.0.0
bq 2.0.57
core 2020.05.01
gsutil 4.50
macOS Catalina 10.15.4