【发布时间】:2019-03-27 18:56:01
【问题描述】:
我试图从我的驱动器中加载一个文件夹,但在加载时出错
ValueError Traceback (most recent call last)
<ipython-input-3-a977da366961> in <module>()
1 from google.colab import drive
----> 2 drive.mount('content/gdrive/My Drive/kaggle')
/usr/local/lib/python3.6/dist-packages/google/colab/drive.py in mount(mountpoint, force_remount, timeout_ms)
69
70 if ' ' in mountpoint:
---> 71 raise ValueError('Mountpoint must not contain a space.')
72
73 mountpoint = _os.path.expanduser(mountpoint)
ValueError: Mountpoint must not contain a space.
如何摆脱这个错误。这是我尝试过的:
from google.colab import drive
drive.mount('content/gdrive/My Drive/kaggle')
【问题讨论】:
标签: python directory mount google-colaboratory drive