GoogleAuth: ModuleNotFoundError: No module named 'google.colab'
I want to import data from google drive to a data frame. But my code breaks down at the 'from google.colab import auth' step. It says google.colab module not found. Tried suggestions at How to resolve: ModuleNotFoundError: No module named 'google.colab' from pydrive.auth import GoogleAuth from pydrive.drive import GoogleDrive from google.colab import auth auth.authenticate_user() import gspread from oauth2client.client import GoogleCredentials gc = gspread.authorize(GoogleCredentials.get_application_default()) Error message: ModuleNotFoundError: No module named 'google.colab'
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.