【发布时间】:2021-09-16 16:42:23
【问题描述】:
我想在 Windows 10 Home 上安装 gcloud ssh 组件以对 GCE 实例进行 ssh。但它未能显示以下消息。
Your current Cloud SDK version is: 347.0.0
Installing components from version: 347.0.0
These components will be installed.
Name: gcloud Beta Commands
Version: 2019.05.17
Size: < 1 MiB
For the latest full release notes, please visit:
https://cloud.google.com/sdk/release_notes
Do you want to continue (Y/n)? y
Creating update staging area
10%
(snip)
100%
100%
ERROR: gcloud crashed (Error): [('C:\\Users\\tafut\\gcloud\\google-cloud-sdk\\platform\\gsutil\\third_party\\funcsigs\\docs\\index.rst', 'C:\\Users\\tafut\\gcloud\\google-cloud-sdk.staging\\platform\\gsutil\\third_party\\funcsigs\\docs\\index.rst', 'symbolic link privilege not held'), ('C:\\Users\\tafut\\gcloud\\google-cloud-sdk\\platform\\gsutil\\third_party\\mock\\docs\\changelog.txt', 'C:\\Users\\tafut\\gcloud\\google-cloud-sdk.staging\\platform\\gsutil\\third_party\\mock\\docs\\changelog.txt', 'symbolic link privilege not held')]
If you would like to report this issue, please run the following command:
gcloud feedback
To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics
这是安装的 gcloud 版本。
$ gcloud version
Google Cloud SDK 347.0.0
bq 2.0.69
core 2021.06.25
gsutil 4.64
【问题讨论】:
-
在 Windows 10 上,不会相对于用户的主目录路径安装 CLI。我建议卸载并重新启动系统。然后安装当前版本。但是,错误
symbolic link privilege not held表示用户没有权限或文件系统不支持该功能。您的系统可能不止一个问题。 -
运行
gpedit.msc。计算机配置→Windows设置→安全设置→本地策略→用户权限分配→创建符号链接的设置是什么
标签: google-cloud-platform gcloud google-cloud-sdk