M JAYANTH VARMA
M JAYANTH VARMA

Reputation: 21

cannot add path of a folder stored in google drive

Subfolder 'gdrive' from the folder 'content' is not being recognized. This image is the screenshot of the error

No such file or folder exists : enter image description here

Upvotes: 0

Views: 752

Answers (2)

Bob Smith
Bob Smith

Reputation: 38674

You need a leading / in your path. For example, run:

from google.colab import drive
drive.mount('/content/gdrive')
%cd /content/gdrive

Upvotes: 0

mayank Chandel
mayank Chandel

Reputation: 58

you need to use the id of the google drive folder. google drive folder are accessible by their ids not names.

here is how you find the id of the folder link

Upvotes: 0

Related Questions