gpt4 book ai didi

python - gcloud.py 属性错误 : module 'enum' has no attribute 'Int Flag'

转载 作者:太空宇宙 更新时间:2023-11-03 14:07:27 24 4
gpt4 key购买 nike

我在运行 google-cloud-sdk 的 install.bat(或通过“bash”shell 的 install.sh)时收到此错误消息。Python 是 3.6 版。

有什么建议吗?

最佳答案

您需要 Python 2.7 才能使用 gcloud,如 https://cloud.google.com/sdk/docs/#windows 中所述.

在 Windows 上,您可以选择使用“bundled python”选项,在这种情况下,gcloud 将使用自己的 python 2.7 版本,而不会干扰您安装的版本。

关于python - gcloud.py 属性错误 : module 'enum' has no attribute 'Int Flag' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42354363/

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