【问题标题】:Receiving error when installing gcutil安装 gcutil 时收到错误
【发布时间】:2013-12-10 15:24:55
【问题描述】:

当我尝试使用本指南安装 gcutil 时:https://developers.google.com/compute/docs/gcutil/

我收到此错误(使用 install.bat):

(gcloud.components.update) Your current working directory is inside the Cloud SD
K install root: C:\gcutil\google-cloud-sdk.  In order to perform this update, ru
n the command from outside of this directory.

这是什么原因?引用的工作目录是什么?

【问题讨论】:

    标签: google-compute-engine gcutil


    【解决方案1】:

    它指的是你的shell当前所在的目录。正在运行:

    cd C:\gcutil
    

    应该让您在正确的位置运行批处理文件。

    【讨论】:

    • 您的意思是将安装文件复制到新目录“C:\gcutil”并从那里运行吗? “C:\gcutil”应该已经存在吗?
    • 你是从命令行运行 install.bat 还是双击它?
    • 从命令行运行时,请确保您位于 sdk 的父目录中。例如,如果您的当前目录是:C:\gcutil\google-cloud-sdk(如错误消息所示)。运行:cd .. 然后运行:google-cloud-sdk\install.bat
    猜你喜欢
    • 2019-12-01
    • 1970-01-01
    • 2020-10-05
    • 1970-01-01
    • 2022-09-27
    • 2018-07-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多