我正在尝试连接我的colab research ipython中的gdrive。但是今天早上我写这段代码的时候,
from google.colab import drive
drive.mount('/content/drive/')它抛出一个错误代码;
ValueError: Mountpoint must be in a directory that exists

我无法连接到gdrive,可能的原因是什么?谢谢
发布于 2019-01-18 02:22:57
实际的修复方法不是添加force_remount=True,而是将arg中的尾随/删除到drive.mount()中。
发布于 2019-01-17 19:31:14
实际上,我得到了答案。İ代替
from google.colab import drive
drive.mount('/content/drive')需要键入以下内容
from google.colab import drive
drive.mount('/content/drive', force_remount=True)谢谢
https://stackoverflow.com/questions/54234906
复制相似问题