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
5
votes
2 answers

Prompting "ImportError: No module named py27_urlquote" when running dev_appserver.py on Google Cloud SDK

When I run dev_appserver.py on google-cloud-sdk, I get ImportError: No module named py27_urlquote. Traceback (most recent call last): File "/Users/user/Downloads/google-cloud-sdk/platform/google_appengine/dev_appserver.py", line 109, in
Nakasei
  • 71
  • 7
5
votes
2 answers

How to set CLOUDSDK_PYTHON for Google Cloud in Linux?

if I run: sudo gcloud components update I get this warning: WARNING: Python 3.4.x is no longer officially supported by the Google Cloud SDK and may not function correctly. Please use Python version 2.7.x or 3.5 and up. If you have a compatible…
Daniele B
  • 19,801
  • 29
  • 115
  • 173
5
votes
4 answers

Downloading an object byte range from Google Cloud Storage using Java SDK

I'm trying to download a byte range from Google Cloud Storage, using their Java SDK. I can download an entire file like this. Storage mStorage; // initialized and working Blob blob = mStorage.get(pBucketName, pSource); try (ReadChannel reader =…
the_storyteller
  • 2,335
  • 1
  • 26
  • 37
5
votes
3 answers

Google cloud SDK installation error: Could not update [/Users/username/.bash_profile]. Ensure you have write access to this location

I am getting the above error while installing Google cloud sdk. I entered below command in terminal: curl https://sdk.cloud.google.com | bash Thanks
5
votes
6 answers

sqlite3 error installing Google Cloud SDK with multiple versions of py2.7

Moving from an AWS setup to GCE for the first time, so kindly bear with my naive questions. During the step ./google-cloud-sdk/install.sh, I encountered the following the error: Welcome to the Google Cloud SDK! Traceback (most recent call…
5
votes
4 answers

Google Cloud SDK - No module named ipaddr

Today our development containers started throwing and error while running the App Engine (GAE) Standard local development environment from the Google Cloud SDK. ERROR 2017-12-15 09:38:37,766 http_runtime.py:396] bad runtime process port…
5
votes
2 answers

Loading GOOGLE_APPLICATION_CREDENTIALS in Laravel 5

I'm using Laravel 5.2 and I do php artisan config:cache as recommended in the official documentation for speed improvement. As you may know, this command makes the .env file variables directly inaccessibles (you can test it with php artisan tinker),…
5
votes
2 answers

httplib2.SSLHandshakeError while Installing Google Cloud SDK

While installing the Google Cloud SDK - Python, a httplib2.SSLHandshakeError keeps occuring. I have configured the unfilled_client_secrets.json (shown below the return). And this has not solved the HandshakeError. Similar questions have been asked…
5
votes
2 answers

Google Cloud SDK vs Google Cloud Client Libraries

How do they differ? and what is the use case for each? Is it possible for me to use one exclusively, such as if I'm more familiar with .NET I could do everything using the Client Library (for .NET) that I could with python and the SDK? Google Cloud…
5
votes
5 answers

Upgrading google-cloud-sdk Fails on Configure

Upgrading gcloud on Ubuntu 16.04 fails on postinst configuration. The google-cloud-sdk has been installed and used without installation problems, but this is aborting the upgrade at the configuration phase. The problem seems to be that the postinst…
Matthew
  • 757
  • 11
  • 19
5
votes
2 answers

Application Default Credentials not working locally with App Engine

Having a tough time getting the Default Application Credentials to load in the dataflow SDK when running locally in a java app engine project developing on OS X. Runs fine when deployed. According to this the dev app server doesn't support them,…
4
votes
0 answers

gcloud compute commands sometimes getting stuck in WSL

I am running various gcloud compute commands from the linux subsystem on Windows 11 using Debian. In general, it works great. However, sometimes the gcloud command simply does not return, even after several minutes. Sometimes it happens once,…
4
votes
2 answers

gcloud util installation crashed on Windows 10

I want to install gcloud ssh component on Windows 10 Home in order to ssh GCE instances. But it failed showing the following message. Your current Cloud SDK version is: 347.0.0 Installing components from version: 347.0.0 These components will be…
Takash Futada
  • 686
  • 6
  • 17
4
votes
4 answers

How to solve `CERTIFICATE_VERIFY_FAILED` error when install gcloud?

I tried to install gcloud in MacOs but failed. I tried two python versions 3.7.4 and 3.9.1 but both have the same issue. how can I install the gcloud? Is there any other dependencies I need? $ python --version Python 3.9.1 $ sh install.sh…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
4
votes
2 answers

Why can't I run 2 commands consecutively using batch file for gcloud

so I have this .bat file: @echo off cd C:\Users\user\Downloads gcloud auth activate-service-account --key-file=keyFileName.json gcloud auth print-access-token pause During the first gcloud command, it will suddenly crash the command prompt halfway,…
wolnavi
  • 183
  • 1
  • 14