我正在尝试运行命令行工具,但在运行时看到了这个错误
cbt help或任何其他cbt命令:
-bash: cbt: command not found我已经验证了gcloud组件是在我运行时安装的。
gcloud components list我看到:
Installed │ Cloud Bigtable Command Line Tool │ cbt │ 4.9 MiB但是,当我跑的时候
gcloud info我在数组中看到已安装组件的列表及其版本号。例如:
Installed Components:
core: [2018.07.16]
pubsub-emulator: [2018.02.02]
beta: [2018.07.16]
gsutil: [4.33]
bq: [2.0.34]
cbt: []
bigtable: []这可能是路径设置不正确的问题,但我不确定。这似乎与这一问题有关:
How to set path to kubectl when installed using gcloud components install?
有什么想法吗?
发布于 2018-07-23 14:34:00
有几件事要检查:
gcloud info的全部输出。Cloud SDK on PATH是True。bin上拥有Installation Root的Installation Root目录。cbt二进制文件在Installation Root/bin中https://stackoverflow.com/questions/51450441
复制相似问题