gcloud not recognized as an internal or external command on Windows

后端 未结 17 1554
别那么骄傲
别那么骄傲 2020-12-17 10:07

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

17条回答
  •  我在风中等你
    2020-12-17 10:35

    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.

提交回复
热议问题