google cloud sdk: set environment variable_ python --> linux -


error: python 3 not supported google cloud sdk.  please use python 2.x version 2.6 or greater.  if have compatible python interpreter installed, can use setting cloudsdk_python environment variable point it. 

i guess first question should asking "with money google makes off of customers why can't hire ensure cloud sdk works python 3?"

how overcome error on linux? specific files need edited? , should files located?

i searched around, lot, , found this question how fix on windows, answer not comprehensive.


thus far i've attempted:

one source of documentationsays modify file called app.yaml, searched using command find . -name "app.yaml" , no such file exists.

specifically i'm using arch linux, tried use aur package it's disfunctional.

so installed documentation, making sure edit ./install.sh file, specifying python2 per discussion on the google groups, doesn't work either. after running command gcloud auth login same error posted above.

this easy thing solve. native python command on arch command line python 3. sdk requires python2.7 , the

  • just go google-cloud-sdk folder , open install.sh file.

  • change cloudsdk_python="python" value cloudsdk_python="python2.7"

  • rerun install command

    ./install.sh
    in same folder , follow prompts.

that's all.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -