Reputation: 141
I have a conda container with the gcloud sdk and I can initialize and login to gcloud with gcloud init
just fine. However, if I try to install datalab with gcloud components install datalab
I get:
ERROR: (gcloud.components.install) The components management action could not be performed because the installation root of the Cloud SDK could not be located. If you previously used the Cloud SDK installer, you could re-install the the SDK and retry again.
Is there a workaround?
Upvotes: 0
Views: 1388
Reputation: 5542
The Google Cloud SDK component manager only works if you download the SDK through a versioned package, not through a package manager.
See: https://cloud.google.com/sdk/docs/components#managing_cloud_sdk_components.
Upvotes: 3