AI GitHub脚本的Oauth2client和Python问题入门

问题描述

我正在尝试使用Google的AI培训脚本:https://colab.research.google.com/github/magenta/ddsp/blob/master/ddsp/colab/demos/train_autoencoder.ipyn

前几天我尝试了一下,但一切正常,但现在拒绝了。 一切都没有改变,相同的PC,相同的浏览器,相同的Google帐户已关联。

它表示我的oauth2client版本不正确-但是我没有做任何更改,也不知道如何解决此问题。这似乎导致以后的脚本失败。 任何帮助将不胜感激。

运行的脚本是这样的:

%tensorflow_version 2.x
!pip install -qU ddsp[data_preparation]

# Initialize global path for using google drive. 
DRIVE_DIR = ''

错误消息是:

ERROR: pydrive 1.3.1 has requirement oauth2client>=4.0.0,but you'll have oauth2client 3.0.0 which is incompatible.
ERROR: apache-beam 2.24.0 has requirement avro-python3!=1.9.2,<1.10.0,>=1.8.1; python_version >= "3.0",but you'll have avro-python3 1.10.0 which is incompatible.
ERROR: apache-beam 2.24.0 has requirement dill<0.3.2,>=0.3.1.1,but you'll have dill 0.3.2 which is incompatible.
ERROR: apache-beam 2.24.0 has requirement future<1.0.0,>=0.18.2,but you'll have future 0.16.0 which is incompatible.
ERROR: apache-beam 2.24.0 has requirement requests<3.0.0,>=2.24.0,but you'll have requests 2.23.0 which is incompatible.

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)