I am installing Google App Engine under Windows (not using Cygwin). After running the bat script, I closed and reopened the cmd.exe
and entered inside the google-cloud-sdk
directory. When I ran the command gcloud auth login
, I'm getting the error:
'gcloud' is not recognized as an internal or external command, operable program or batch file.
The first thing to do after successful installation is open your command line and type “gcloud” to check whether Cloud SDK has installed perfectly. Run “gcloud init”, it opens up a new browser window and asks to login into your google cloud account.
Me too had the same issue that
'gcloud is not recognized as an internal or external command' .
For windows 7 user goto: MyComputer->Right Click - Properties -> Advanced System Settings - advanced - Environment Variables
.
First have to set path extension.
This can be done by:
Under System variables
in Environment variables
choose PATHEXT->Edit -> Add ' ;.PY
'.....PY for Python Support
Second change the environment variable:
Under System variables
in Environment variables
choose PATH->Edit-> ADD "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin "
and click OK.
Now restart the command shell and check with the following command :
'gcloud -h'
Sure it will work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With