gcloud not recognized as an internal or external command on Windows

后端 未结 17 1555
别那么骄傲
别那么骄傲 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:17

    just below path in environment variables there is PATHEXT, have to add .PY to it, as the gcloud is gcloud.py,

    also have to add

    C:\Program Files\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\gcloud;

    C:\Program Files\Google\Cloud SDK\google-cloud-sdk.staging\lib\googlecloudsdk\gcloud

    to the environmental variable path.

提交回复
热议问题