Questions tagged [google-cloud-sdk]

Google Cloud SDK contains tools and libraries that enable you to easily create and manage resources on Google Cloud Platform, including App Engine, Compute Engine, Cloud Storage, BigQuery, Cloud SQL, and Cloud DNS.

Google Cloud SDK contains tools and libraries that enable you to easily create and manage resources on Google Cloud Platform, including App Engine, Compute Engine, Cloud Storage, BigQuery, Cloud SQL, and Cloud DNS.

System Requirements: Google Cloud SDK runs on Windows, Mac OS X and Linux, and requires Python 2.7.x. Some of the individual tools bundled with Cloud SDK have more stringent requirements: using App Engine tools for Java development requires Java 1.7+.

501 questions
4
votes
2 answers

Installing Google SDK in Debian 10?

I am following instructions here to install Google Cloud SDK: echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list sudo apt-get…
hhh
  • 50,788
  • 62
  • 179
  • 282
4
votes
1 answer

Permanently allow Google Cloud SDK access to your Google Account with Colaboratory

When using Google Colaboratory with Google Cloud, one has to authenticate itself: from google.colab import auth auth.authenticate_user() print('Authenticated') The result of running that cell is: Go to the following link in your browser: …
4
votes
2 answers

"ImportError: No module named zlib" when install google cloud sdk

I'm installing google cloud sdk on mac following this documentation. But I failed when trying to run this command: $ curl https://sdk.cloud.google.com | bash And this is error: Welcome to the Google Cloud SDK! Traceback (most recent call last): …
Tran B. V. Son
  • 759
  • 2
  • 12
  • 31
4
votes
1 answer

Google Golang SDK Use Custom CA Bundle

I am trying to pull messages from a Google Cloud Pub/Sub Subscription using the Google Cloud Client Library for Go (https://godoc.org/cloud.google.com/go/pubsub). I am going through an HTTP proxy that uses TLS interception, so I need the pubsub…
l33tn00b
  • 71
  • 3
4
votes
3 answers

gsutil file download OSError: Permission denied. KiB

I am trying to download some samples from Google storage to do a sentiment analysis. I am following the instructions but get an error (I actually added a destination file to their instruction and the error is different): Error as defined by Google…
jbarriga
  • 93
  • 1
  • 6
4
votes
0 answers

GAE local - PHP-CGI Fatal Error Unable to write base address

After a clean install of Google cloud SDK, I try to test HelloWorld project without success. for installation, I follow this documentation : https://cloud.google.com/appengine/docs/standard/php/quickstart My dev env. is on windows 10 x64 Current…
4
votes
1 answer

GCP wont work after upgrading to OSX Mojave

After I upgraded to OSX Mojave (Developer beta 2) I get an error every time I use GCP and also at reinstalling it. ERROR: gcloud failed to load: No module named zlib gcloud_main = _import_gcloud_main() import googlecloudsdk.gcloud_main …
JB Theard
  • 63
  • 5
4
votes
2 answers

gsutil rename files as they are being copied from different directories

I have three folders in a storage bucket, each containing…
4
votes
2 answers

Python installation does not have sqlite3 library

Trying to install Google Cloud Platform and got this warning mesasge This python installation does not have sqlite3 library. Please upgrade your set of dependencies to include sqlite3 as otherwise gcloud commands will stop working in near future. I…
JMT
  • 63
  • 3
  • 7
4
votes
1 answer

Can I install and run multiple versions of gcloud (google cloud sdk) on the same machine?

Features and options in gcloud are sometimes deprecated/removed. If CI depends on it and refactoring is not an option while at the same time we need to use new features which come out in later releases can we have multiple versions of gcloud…
cherba
  • 8,681
  • 3
  • 27
  • 34
4
votes
1 answer

Error deploying Go apps to Google App Engine

When I run gcloud app deploy to deploy my Go application, I get the following error message: "Please verify that you have execute permission for allfiles in your CLOUD SDK bin folder" How do I resolve it?
4
votes
4 answers

Google Cloud SDK for ARM architecture

I would like to work Google Cloud SDK on ARM machine. $ uname -a Linux myhost 3.14.79-at10 #2 SMP PREEMPT Mon Mar 6 15:38:30 JST 2017 armv7l GNU/Linux In this page, I can find only for x86 architecture. Can I work Google Cloud SDK on ARM?
N.F.
  • 3,844
  • 3
  • 22
  • 53
4
votes
3 answers

gcloud.py attributeError: module 'enum' has no attribute 'Int Flag'

I get this error message when running install.bat (or install.sh through 'bash' shell) of google-cloud-sdk. Python is version 3.6. Any suggestions?
diman82
  • 702
  • 8
  • 11
4
votes
4 answers

Google Cloud Deployment Manager: add instances to instance group via yaml configuration

I'm trying to create an unmanaged instanceGroup with several VM's in it via Deployment Manager Configuration (YAML file). I can easily find docs about addInstances via Google API, but couldn't find docs about how to do this in a YAML…
3
votes
1 answer

How to pass environment variables to gcloud beta ai custom-jobs create with custom container (Vertex AI)

I'm running custom training jobs in google's Vertex AI. A simple gcloud command to execute a custom job would use something like the following syntax (complete documentation for the command can be seen here): gcloud beta ai custom-jobs create…