相关疑难解决方法(0)

-bash:gcloud:在Mac上找不到命令

我正在关注Mac OS XQuickstart以安装云SDK.完全按照步骤,

1)python -V返回"Python 2.7.10"

2)./install.sh在google-cloud-sdk中使用64位版本的SDK 下载并解压缩...

Welcome to the Google Cloud SDK!

To help improve the quality of this product, we collect anonymized usage data
and anonymized stacktraces when crashes are encountered; additional information
is available at <https://cloud.google.com/sdk/usage-statistics>. You may choose
to opt out of this collection now (by choosing 'N' at the below prompt), or at
any time in the future by running the following command:

    gcloud config set …
Run Code Online (Sandbox Code Playgroud)

bash gcloud google-cloud-sdk

16
推荐指数
5
解决办法
2万
查看次数

找不到gcloud命令 - 安装Google Cloud SDK

我正在尝试使用终端中的以下命令在Mac上安装Google Cloud SDK

curl https://sdk.cloud.google.com | bash
Run Code Online (Sandbox Code Playgroud)

它工作正常,但当我进入下一步

gcloud init
Run Code Online (Sandbox Code Playgroud)

我得到以下内容

-bash:gcloud:找不到命令

我已经尝试了与此处相同的问题的所有解决方案,但是我仍然得到相同的错误消息.安装程序没有提示我以下消息:Modify profile to update your $PATH and enable bash completion? (Y/n)?

terminal installation google-cloud-platform gcloud

5
推荐指数
1
解决办法
1万
查看次数

5
推荐指数
1
解决办法
1167
查看次数