Google compute engine 我如何让gcloud在谷歌云的opensuse 13.2上工作?

Google compute engine 我如何让gcloud在谷歌云的opensuse 13.2上工作?,google-compute-engine,google-cloud-platform,gcloud,Google Compute Engine,Google Cloud Platform,Gcloud,我使用opensuse 13.2(基于2015-05-11构建的x86_64)在Google Cloud中启动了一个实例,ssh到该实例,尝试运行gcloud,并得到以下错误: evgeny@tea-2:~>gcloud python:无法打开文件'/usr/bin/./lib/google/cloud/sdk/gcloud/gcloud.py':[Errno 2]没有这样的文件或目录 我如何使它工作?听起来像某种错误。你能试着重新安装吗?尝试运行: curl https://sdk.clou

我使用
opensuse 13.2(基于2015-05-11构建的x86_64)
在Google Cloud中启动了一个实例,ssh到该实例,尝试运行
gcloud
,并得到以下错误:

evgeny@tea-2:~>gcloud
python:无法打开文件'/usr/bin/./lib/google/cloud/sdk/gcloud/gcloud.py':[Errno 2]没有这样的文件或目录


我如何使它工作?

听起来像某种错误。你能试着重新安装吗?尝试运行:

curl https://sdk.cloud.google.com | bash

然后注销并重新登录

您可以直接从Google中拉出gcloud,如答案1所示,或者您可以使用openSUSE存储库中的打包版本

通过ssh登录后:

~> sudo -i
# zypper ar -t rpm-md -n 'Cloud Tools Devel'   http://download.opensuse.org/repositories/Cloud:/Tools/openSUSE_13.2/ cloud_tools_devel
# zypper install google-cloud-sdk-0.9.44-13.2.noarch

您需要接受添加的新存储库的生成密钥。

感谢您的报告。我们将与opensuse合作解决此问题。