我决定使用 colab 和 google-drive-ocamlfuse 将我的项目链接到我的驱动器,在阅读了一篇博客后,参考在这里http://medium.com/@burakteke/tutorial-on-using-google-colab-for -kaggle-competition-620393c22821
从这里阅读答案后,我已经修复了安装 fuse 的第一部分Unable to locate package google-drive-ocamlfuse ,突然停止工作
当我尝试做第三部分时:
# Generate creds for the Drive FUSE library.
from oauth2client.client import GoogleCredentials
creds = GoogleCredentials.get_application_default()
import getpass
!google-drive-ocamlfuse -headless -id={creds.client_id} -secret={creds.client_secret} < /dev/null 2>&1 | grep URL
vcode = getpass.getpass()
!echo {vcode} | google-drive-ocamlfuse -headless -id={creds.client_id} -secret={creds.client_secret}