gpt4 book ai didi

linux - App-engine-go 组件在 ARM/raspberry pi 上的组件列表中不可用

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:18:40 25 4
gpt4 key购买 nike

this issue 之后已修复,appengine 团队建议使用 x86 Linux 源代码在 ARM 环境(如 raspberry pi 3)上进行安装。

下载gcloud sdk后,当我在树莓派上运行gcloud components list时,我得到以下组件列表

+------------------------------------------------------------------------------------------+
| Components |
+---------------+-----------------------------------+--------------------------+-----------+
| Status | Name | ID | Size |
+---------------+-----------------------------------+--------------------------+-----------+
| Not Installed | Cloud Datalab Command Line Tool | datalab | < 1 MiB |
| Not Installed | Cloud Datastore Emulator | cloud-datastore-emulator | 17.7 MiB |
| Not Installed | Cloud Datastore Emulator (Legacy) | gcd-emulator | 38.1 MiB |
| Not Installed | Cloud Pub/Sub Emulator | pubsub-emulator | 33.2 MiB |
| Not Installed | gcloud Alpha Commands | alpha | < 1 MiB |
| Not Installed | gcloud Beta Commands | beta | < 1 MiB |
| Not Installed | gcloud app Java Extensions | app-engine-java | 116.0 MiB |
| Not Installed | gcloud app PHP Extensions | app-engine-php | |
| Not Installed | gcloud app Python Extensions | app-engine-python | 6.2 MiB |
| Installed | BigQuery Command Line Tool | bq | < 1 MiB |
| Installed | Cloud SDK Core Libraries | core | 7.4 MiB |
| Installed | Cloud Storage Command Line Tool | gsutil | 3.3 MiB |
+---------------+-----------------------------------+--------------------------+-----------+

当我在 x86_64 系统上运行相同的程序时,我得到以下列表。

┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Components │
├───────────────┬──────────────────────────────────────────────────────┬──────────────────────────┬───────────┤
│ Status │ Name │ ID │ Size │
├───────────────┼──────────────────────────────────────────────────────┼──────────────────────────┼───────────┤
│ Not Installed │ App Engine Go Extensions │ app-engine-go │ 97.7 MiB │
│ Not Installed │ Cloud Bigtable Command Line Tool │ cbt │ 4.0 MiB │
│ Not Installed │ Cloud Bigtable Emulator │ bigtable │ 3.5 MiB │
│ Not Installed │ Cloud Datalab Command Line Tool │ datalab │ < 1 MiB │
│ Not Installed │ Cloud Datastore Emulator │ cloud-datastore-emulator │ 17.7 MiB │
│ Not Installed │ Cloud Datastore Emulator (Legacy) │ gcd-emulator │ 38.1 MiB │
│ Not Installed │ Cloud Pub/Sub Emulator │ pubsub-emulator │ 33.2 MiB │
│ Not Installed │ Emulator Reverse Proxy │ emulator-reverse-proxy │ 14.5 MiB │
│ Not Installed │ Google Container Local Builder │ container-builder-local │ 3.7 MiB │
│ Not Installed │ Google Container Registry's Docker credential helper │ docker-credential-gcr │ 2.2 MiB │
│ Not Installed │ gcloud Alpha Commands │ alpha │ < 1 MiB │
│ Not Installed │ gcloud Beta Commands │ beta │ < 1 MiB │
│ Not Installed │ gcloud app Java Extensions │ app-engine-java │ 116.0 MiB │
│ Not Installed │ gcloud app PHP Extensions │ app-engine-php │ 21.9 MiB │
│ Not Installed │ gcloud app Python Extensions │ app-engine-python │ 6.2 MiB │
│ Not Installed │ kubectl │ kubectl │ 12.2 MiB │
│ Installed │ BigQuery Command Line Tool │ bq │ < 1 MiB │
│ Installed │ Cloud SDK Core Libraries │ core │ 7.4 MiB │
│ Installed │ Cloud Storage Command Line Tool │ gsutil │ 3.3 MiB │
└───────────────┴──────────────────────────────────────────────────────┴──────────────────────────┴───────────┘

缺少组件是因为平台不兼容还是有办法让 golang sdk 在 raspberry pi 上工作?

最佳答案

当我解释问题跟踪器中的评论时:

  1. 我没有看到任何关于“源”安装的提及
  2. 他们只说“纯 python”部分应该可以工作(SDK 主要是 Python 脚本,AIUI)

所以我认为答案是否定的,Go App Engine SDK 不能在 ARM 上运行,而且似乎也没有任何支持它的计划。

关于linux - App-engine-go 组件在 ARM/raspberry pi 上的组件列表中不可用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47115262/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com