【发布时间】:2014-05-29 04:23:47
【问题描述】:
我正在使用appcfg.py update <appname> 上传/更新我的应用程序,但我在终端中收到了这条消息:
owner:~ owner$ appcfg.py update kratosapp
You do not currently have an active account selected.
Please run:
$ gcloud auth login
to obtain new credentials, or if you have already logged in with a
different account:
$ gcloud config set account <account name>
to select an already authenticated account to use.
当我尝试使用两个推荐的操作时:
$ gcloud config set account <account name>
OR
$ gcloud auth login
我的命令行出现以下错误:
-bash: $: command not found
我不确定发生了什么。我已经尝试建立 Sym Link。这发生在我最近在 mac 上更新 GAE 软件之后。
【问题讨论】:
-
输入命令时,不要包含 $ - 这只是表示您在 shell 提示符下运行它后面的命令。
-
@lantius,谢谢先生。你知道为什么这一步变得必要吗?我在更新之前使用
appcfg.py update ...非常好。 -
所有 Google Cloud Platform 产品都将所有命令行工作集中在一个名为 Google Cloud SDK (gcloud) 的工具中,这将是进行远程交互的最终方式,例如在 App Engine for部署。
标签: google-app-engine google-cloud-platform gcloud