Google Colab-ValueError: Mountpoint must be in a directory that exists

前端 未结 10 1030
心在旅途
心在旅途 2021-01-03 01:02

I want to mount google drive on google Colab and I am using this command to mount the drive

from google.colab import drive
drive.mount(\'/content/drive/\')
<         


        
10条回答
  •  梦谈多话
    2021-01-03 01:30

    In my case, I click the folder icon on the side panel, it will show you Upload, Refresh and Mount Drive.

    1. click on the Mount Drive, the 'drive' folder containing 'My Drive' folder appears
    2. Then run

      from google.colab import drive drive.mount('drive')

    3. Go to this URL in a browser will appear - I sign to one of my account

    4. Enter your authorization code

    Drive

提交回复
热议问题