I was trying to download file from my google drive to colaboratory.
file_id = \'1uBtlaggVyWshwcyP6kEI-y_W3P8D26sz\' import io from googleapiclient.http import M
You need to define a drive API service client to interact with the Google drive API, for instance:
from googleapiclient.discovery import build drive_service = build('drive', 'v3')
(see the notebook External data: Drive, Sheets, and Cloud Storage/Drive REST API)