$ gcloud beta run worker-pools deploy my-pool
ERROR: gcloud failed to load (gcloud.beta.run.worker-pools.deploy): Problem loading gcloud.beta.run.worker-pools.deploy: No module named 'grpc'.
This indicates that the `grpc` module required for this gcloud command is not installed in your Python environment.
Action Required: Install the missing module `grpc` in your Python environment by running:
$ sudo pip3 install grpc
and set:
$ export CLOUDSDK_PYTHON_SITEPACKAGES=1
For more information, see https://docs.cloud.google.com/sdk/gcloud/reference/topic/startup
Search Criteria
Package Details: google-cloud-cli 565.0.0-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/google-cloud-cli.git (read-only, click to copy) |
|---|---|
| Package Base: | google-cloud-cli |
| Description: | A core set of command-line tools for the Google Cloud Platform. Includes only gcloud core (with beta and alpha commands), gcloud-crc32c and man pages |
| Upstream URL: | https://cloud.google.com/cli/ |
| Keywords: | cloud gcloud gcp google sdk |
| Licenses: | Apache-2.0 |
| Conflicts: | google-cloud-sdk |
| Provides: | google-cloud-cli-alpha, google-cloud-cli-beta, google-cloud-sdk |
| Replaces: | google-cloud-sdk |
| Submitter: | PolarianDev |
| Maintainer: | jvybihal |
| Last Packager: | jvybihal |
| Votes: | 198 |
| Popularity: | 2.83 |
| First Submitted: | 2023-03-08 09:33 (UTC) |
| Last Updated: | 2026-04-15 07:49 (UTC) |
Dependencies (4)
- python
- jq (jq-gitAUR, jq-staticAUR, jaq-binAUR, jaq-gitAUR) (make)
- google-cloud-cli-bqAUR (google-cloud-cli-bqAUR) (optional) – BigQuery Command Line Tool
- google-cloud-cli-gsutilAUR (google-cloud-cli-gsutilAUR) (optional) – Cloud Storage Command Line Tool. Not the recommended CLI for Cloud Storage
Required by (15)
- apollo-neo-env-manager-dev (optional)
- arkade-bin (requires google-cloud-sdk) (optional)
- gcsfuse (requires google-cloud-sdk) (optional)
- gcsfuse-bin (requires google-cloud-sdk) (optional)
- google-cloud-cli-firestore-emulator
- google-cloud-cli-gke-gcloud-auth-plugin
- google-cloud-sdk-app-engine-java (requires google-cloud-sdk)
- google-cloud-sdk-app-engine-python (requires google-cloud-sdk)
- google-cloud-sdk-app-engine-python-extras (requires google-cloud-sdk)
- google-cloud-sdk-datastore-emulator (requires google-cloud-sdk)
- k3sup-bin (requires google-cloud-sdk) (optional)
- porter-bin (requires google-cloud-sdk) (optional)
- repman (optional)
- repman-git (optional)
- rustconn (optional)
Sources (4)
bamboo commented on 2026-04-01 18:28 (UTC)
kubrick commented on 2025-08-25 10:32 (UTC)
@jvybihal; thanks a ton for fixing this, I understand that you don't want to maintain a package for an arch you don't use, fair enough.
It's not quite fixed though,
🚛 Starting the build:
==> ERROR: google-cloud-cli-bundled-python3-unix is not available for the 'aarch64' architecture.
so I had to remove google-cloud-cli-bundled-python3-unix from the list of packages created by this PKGBUILD, but in the end it works.
Herbs3508 commented on 2025-08-25 07:41 (UTC)
I have the following error installing the package:
==> Starting package_google-cloud-cli-component-gke-gcloud-auth-plugin()...
==> ERROR: A failure occurred in package_google-cloud-cli-component-gke-gcloud-auth-plugin().
Aborting...
Only after installing python312, does the package builds correctly
jvybihal commented on 2025-08-22 11:03 (UTC)
@kubrick thanks for reporting, should be fixed even tho I do not plan supporting aarch64
kubrick commented on 2025-08-22 06:52 (UTC) (edited on 2025-08-22 06:53 (UTC) by kubrick)
The aarch64 package fails to build:
🚛 Starting the build:
==> Making package: google-cloud-cli 535.0.0-1 (Fri 22 Aug 2025 08:33:57 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found google-cloud-cli.sh
-> Found google-cloud-cli.install
-> Downloading google-cloud-cli-535.0.0.orig_aarch64.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 61.9M 100 61.9M 0 0 6791k 0 0:00:09 0:00:09 --:--:-- 8250k
==> Validating source files with sha256sums...
google-cloud-cli.sh ... Passed
google-cloud-cli.install ... Passed
==> Validating source_aarch64 files with sha256sums...
google-cloud-cli-535.0.0.orig_aarch64.tar.gz ... Passed
==> Extracting sources...
-> Extracting google-cloud-cli-535.0.0.orig_aarch64.tar.gz with bsdtar
==> Starting prepare()...
mv: cannot stat 'platform/bundledpythonunix': No such file or directory
==> ERROR: A failure occurred in prepare().
hossamdash commented on 2025-08-17 09:42 (UTC)
latest version doesn't open a browser when you do glcoud auth login (atleast in wsl). going back to version 532.0.0 fixed the issue for me
bacteriostat commented on 2025-07-04 19:10 (UTC) (edited on 2025-07-04 19:11 (UTC) by bacteriostat)
For folks updating from the bundled python version, you need to reboot for the bundled python environment to not be used. If you can't reboot, then follow @arth's solution of passing export CLOUDSDK_PYTHON=$(which python3) to solve it temporarily.
arth commented on 2025-06-30 11:13 (UTC)
I've only mentioned it in case someone else experiences it. I don't think it's an issue with this package itself.
jvybihal commented on 2025-06-30 11:10 (UTC)
@arth I am quite confident it is not. I don't set it myself at all and gcloud has no problem finding python3 path. But if you find it to be a problem with the package after all, please dont hesitate to report it.
arth commented on 2025-06-30 11:03 (UTC) (edited on 2025-06-30 11:05 (UTC) by arth)
@jvybihal maybe it's required to set by gcloud itself:
# if $CLOUDSDK_PYTHON is not set, look for bundled python else
# prefer python3 over python
if [ -z "$CLOUDSDK_PYTHON" ]; then
# Is bundled python present and working?
ARCH=$(uname -m 2>/dev/null)
if [ -x "$CLOUDSDK_ROOT_DIR/platform/bundledpythonunix/bin/python3" ] && \
[ "$ARCH" = "x86_64" ] && \
"$CLOUDSDK_ROOT_DIR/platform/bundledpythonunix/bin/python3" --version > /dev/null 2>&1;
then
CLOUDSDK_PYTHON="$CLOUDSDK_ROOT_DIR/platform/bundledpythonunix/bin/python3"
CLOUDSDK_PYTHON_SITEPACKAGES=1
else
GLOBAL_CONFIG="$HOME/.config/gcloud"
Pinned Comments
jvybihal commented on 2025-06-30 06:37 (UTC)
I did a split of the package to 3 packages:
google-cloud-cli,google-cloud-cli-bq,google-cloud-cli-gsutil. There is also package containing the bundled python for those who want it or as a dependency to the gsutil (current version 5.24 does not work with python 3.13 out-of-the-box, although 5.25 which is already available on github should). I am also testing to include other "components".If there will be interest, it's also possible to split the manpages to another package. So for those who don't want them, the install time can get faster and size significantly smaller.
I have tried not to break anyones installation, so please try to install the 3 mentioned packages and it should work the same as before.
You don't need bundled python for the gcloud to work, and I would advice to use
gsutilonly if yo really have to. The prefered way is to usegcloud storageanyway.