I\'m trying to install the Google Cloud SDK (https://cloud.google.com/sdk/docs/quickstart-mac-os-x) and get this error:
ERROR: (gcloud.components.list) Failed to f
Disabling ipv6 didn't work for me. I tried a bunch of things before getting it to work. I upgraded to mojave OSX before getting the issues.
I updated mac headers as mentioned here:
open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
Rebooted then reinstalled python2:
brew reinstall python2
At this point the issue still persisted, decided to reinstall gcloud and came across this:
I was using zsh so I added the followin .zshrc
:
source /google-cloud-sdk/path.zsh.inc
source /google-cloud-sdk/completion.zsh.inc
For bash:
source /google-cloud-sdk/path.bash.inc
source /google-cloud-sdk/completion.bash.inc`
Then a gcloud init
got me resetting some proxy configuration that was probably the main issue from the start.