Fixed
Status Update
Comments
il...@google.com <il...@google.com> #2
Hello,
Thank you for reaching out.
The Product team is working on this issue. This request has no ETA, but you can follow the progress in this thread.
ja...@gmail.com <ja...@gmail.com> #3
Any updates on this? Fedora 35 uses python 3.10 and gcloud is broken on this OS currently.
ub...@gmail.com <ub...@gmail.com> #4
Workaround for Fedora 35: Downgrade python 3 or add the following to .bashrc:
export CLOUDSDK_PYTHON=/usr/bin/python2
ub...@gmail.com <ub...@gmail.com> #6
It's fixed now on Fedora 35 with latest sdk
ja...@gmail.com <ja...@gmail.com> #7
It's not. Google Cloud SDK still doesn't support Python 3.10 with the latest 366.0:
>gcloud
ERROR: gcloud failed to load: module 'collections' has no attribute 'Mapping'
gcloud_main = _import_gcloud_main()
import googlecloudsdk.gcloud_main
from googlecloudsdk.calliope import cli
from googlecloudsdk.calliope import actions
from googlecloudsdk.calliope import markdown
from googlecloudsdk.calliope import usage_text
from googlecloudsdk.calliope import parser_arguments
from googlecloudsdk.calliope import parser_completer
from googlecloudsdk.core.console import progress_tracker
class _BaseStagedProgressTracker(collections.Mapping):
>gcloud
ERROR: gcloud failed to load: module 'collections' has no attribute 'Mapping'
gcloud_main = _import_gcloud_main()
import googlecloudsdk.gcloud_main
from googlecloudsdk.calliope import cli
from googlecloudsdk.calliope import actions
from googlecloudsdk.calliope import markdown
from googlecloudsdk.calliope import usage_text
from googlecloudsdk.calliope import parser_arguments
from googlecloudsdk.calliope import parser_completer
from googlecloudsdk.core.console import progress_tracker
class _BaseStagedProgressTracker(collections.Mapping):
il...@google.com <il...@google.com>
al...@google.com <al...@google.com> #8
Strange I don't have problem anymore with same version. I didn't set CLOUDSDK_PYTHON
se...@google.com <se...@google.com> #9
It seems that is fixed in SDK 367.0.0
ap...@google.com <ap...@google.com> #10
The fix is released with gcloud version 367.0.0 today. Please download latest gcloud version to work with Python 3.10.
il...@google.com <il...@google.com> #11
Thanks. I can confirm that at least on Windows 10 using latest Python 3.10 from MS Store I'm now able to run gcloud SDK.
zh...@gmail.com <zh...@gmail.com> #12
for some reason running gcloud
on it's own still produces error (on Mac)
~ ❯ gcloud --version
Google Cloud SDK 367.0.0
beta 2021.12.10
bq 2.0.72
core 2021.12.10
gsutil 5.5
~ ❯ gcloud
ERROR: (gcloud) Command name argument expected.
ERROR: gcloud crashed (CommandLoadFailure): Problem loading gcloud.events: module 'collections' has no attribute 'MutableMapping'.
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
il...@google.com <il...@google.com> #13
Hi i could not reproduce the issue. could you please try fresh download the latest gcloud?
$ export CLOUDSDK_PYTHON=/Library/Frameworks/Python.framework/Versions/3.10/bin/python3
$ gcloud --version
Google Cloud SDK 367.0.0
bq 2.0.72
core 2021.12.10
gsutil 5.5
ta...@gmail.com <ta...@gmail.com> #14
I can. gcloud when used with any of parameters works fine. However without parameters it produces an error:
>gcloud --version
Google Cloud SDK 367.0.0
beta 2021.12.10
bq 2.0.72
core 2021.12.10
gsutil 5.5
kubectl 1.20.8
>gcloud projects list
PROJECT_ID NAME PROJECT_NUMBER
xxxxxxxxxxxx XXXXXXXXXXXXX 1234556789
>gcloud
ERROR: (gcloud) Command name argument expected.
ERROR: gcloud crashed (CommandLoadFailure): Problem loading gcloud.events: module 'collections' has no attribute 'MutableMapping'.
>gcloud --version
Google Cloud SDK 367.0.0
beta 2021.12.10
bq 2.0.72
core 2021.12.10
gsutil 5.5
kubectl 1.20.8
>gcloud projects list
PROJECT_ID NAME PROJECT_NUMBER
xxxxxxxxxxxx XXXXXXXXXXXXX 1234556789
>gcloud
ERROR: (gcloud) Command name argument expected.
ERROR: gcloud crashed (CommandLoadFailure): Problem loading gcloud.events: module 'collections' has no attribute 'MutableMapping'.
il...@google.com <il...@google.com> #15
Thanks. I can reproduce it. We will work on a fix.
Description
Version used: Version 1.0.0-alpha04
Since `R.layout` is non-final in library projects, we can't use the `@ContentView` annotation.