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
If you have installed Google App Engine, remove it and install GoogleCloudSDK and Google App Engine.
In my case, I had a folder gClould and gCloud.staging after updating. I could not remove the gCloud folder so I closed all my apps first, then renamed the folder, and changed the gCloud.staging to gCloud. Everything worked after that. For some, this could be your problem, especially it was working before.
Good luck!
If it is still not working you should also add path for Google Cloud SDK Staging in your system path,
C:\Program Files\Google\Cloud SDK\google-cloud-sdk.staging\bin
So you require both of the following in your system path property
In my case, it's because my laptop connect to internet using corporate proxy when install google cloud. I assume the proxy block connection to google cloud installation file.
So, I try to re-install with my own internet connection and the problem solved
good day, to resolve in command line with admin privileges type:
gcloud components install kubectl
and then try the command again
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.