简体   繁体   English

如何修复 Google Cloud ssh“模块‘时间’没有属性‘时钟’”?

[英]How to fix Google Cloud ssh "module 'time' has no attribute 'clock'"?

I am trying to use google Datalab, however when I run the datalab create command, I get the following error:我正在尝试使用 google Datalab,但是当我运行 datalab create 命令时,出现以下错误:

(base) oimtiaz@omars-MBP ~ % datalab connect ai-adventures --port 8082
Connecting to ai-adventures.
This will create an SSH tunnel and may prompt you to create an rsa key pair. To manage these keys, see 
https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys
module 'time' has no attribute 'clock'

It seems to be an error in the Python version, but I am unclear on how to resolve this issue.好像是Python版本的错误,但是我不清楚如何解决这个问题。

经过大量研究,我发现 Google Cloud SDK 不支持更新版本的 Python,因此我需要降级到 3.7 才能使用所需的功能。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Google API:AttributeError:模块“时间”没有属性“时钟” - Google API : AttributeError: module 'time' has no attribute 'clock' AttributeError:未找到模块“时间”没有属性“时钟” - AttributeError: not found module 'time' has no attribute 'clock' AttributeError:模块“时间”没有属性“时钟”聊天机器人 - AttributeError: module 'time' has no attribute 'clock' chatterbot Chatterbot:AttributeError:模块“时间”没有属性“时钟” - Chatterbot : AttributeError: module 'time' has no attribute 'clock' AttributeError:模块“时间”没有属性“时钟” - AttributeError: module 'time' has no attribute 'clock' 解决方案 - AttributeError: module 'time' has no attribute 'clock' - Solution for - AttributeError: module 'time' has no attribute 'clock' 如何修复AttributeError:在Google Cloud Interactive Shell中运行python时,'module'对象没有属性'Client' - How to fix AttributeError: 'module' object has no attribute 'Client' when running python in Google Cloud Interactive Shell Jupyter 笔记本未启动 - AttributeError:模块“时间”没有属性“时钟” - Jupyter notebook is not launching - AttributeError: module 'time' has no attribute 'clock' AttributeError:模块“时间”在 SQLAlchemy python 3.8.2 中没有属性“时钟” - AttributeError: module 'time' has no attribute 'clock' In SQLAlchemy python 3.8.2 属性错误模块“时间”没有属性“时钟”(pyqt5) - attributeerror module 'time' has no attribute 'clock' (pyqt5)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM