繁体   English   中英

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

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

我正在尝试使用 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'

好像是Python版本的错误,但是我不清楚如何解决这个问题。

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

暂无
暂无

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM