借助Google App Engine,为什么我现在会收到“未找到命令”当我的本地机器上运行appcfg.py命令? [英] With Google App Engine, why do I now get "command not found" when running the appcfg.py command on my local machine?
本文介绍了借助Google App Engine,为什么我现在会收到“未找到命令”当我的本地机器上运行appcfg.py命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是在我运行最新的gcloud更新后开始的:
gcloud组件更新
我曾经可以像这样部署我的应用:
appcfg.py更新app.yaml
现在我得到:
appcfg.py:找不到命令
是否有用于部署App Engine应用程序的新的
gcloud
命令?
解决方案
gcloud app deploy 是使用 gcloud
时的首选方式。如果您下载独立的Google App Engine SDK,那么您将有appcfg.py
可用。
https://cloud.google.com/sdk/gcloud/reference/app/deploy
This started after I ran the latest gcloud update:
gcloud components update
I used to be able to deploy my app something like this:
appcfg.py update app.yaml
Now I get:
appcfg.py: command not found
Is there a new
gcloud
command for deploying App Engine apps?解决方案
gcloud app deploy
is the preferred way when usinggcloud
. If you download the stand alone Google App Engine SDK, then you will haveappcfg.py
available.https://cloud.google.com/sdk/gcloud/reference/app/deploy
这篇关于借助Google App Engine,为什么我现在会收到“未找到命令”当我的本地机器上运行appcfg.py命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文