使用 GCP 后端访问 Google Colab 中的驱动器时出错
Error when accessing drive in Google Colab using a GCP Backend
当我在 Google Colab with Compute Engine Backend 中 运行 这个命令时
drive.mount('/content/gdrive')
我遇到这个错误"KeyError: 'CLOUDSDK_CONFIG' "
我在某处读到 Google Colab 不支持与 GCP 后端的驱动器集成。真的吗?如果是,那么有哪些选择?
我相信这是真的,因为我遇到了同样的错误。一个不错的选择是 google-drive-ocamlfuse, which performs the same function, allowing you to mount your Google Drive as a folder. Install google-drive-ocamlfuse on your VM, then perform the steps described in Headless Usage & Authorization.
当我在 Google Colab with Compute Engine Backend 中 运行 这个命令时
drive.mount('/content/gdrive')
我遇到这个错误"KeyError: 'CLOUDSDK_CONFIG' "
我在某处读到 Google Colab 不支持与 GCP 后端的驱动器集成。真的吗?如果是,那么有哪些选择?
我相信这是真的,因为我遇到了同样的错误。一个不错的选择是 google-drive-ocamlfuse, which performs the same function, allowing you to mount your Google Drive as a folder. Install google-drive-ocamlfuse on your VM, then perform the steps described in Headless Usage & Authorization.