Lokesh Lalwani
Lokesh Lalwani

Reputation: 155

Error when accessing drive in Google Colab using a GCP Backend

When I run this command in Google Colab with Compute Engine Backend

drive.mount('/content/gdrive')

I am getting this error "KeyError: 'CLOUDSDK_CONFIG' "

I have read somewhere that Google Colab does not support drive integration with GCP Backend. is that true? if yes then what are the alternatives?

Upvotes: 7

Views: 6525

Answers (1)

sam1370
sam1370

Reputation: 355

I believe that is true, since I am getting the same error. A good alternative is 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.

Upvotes: 3

Related Questions