How to Solve NameError: name 'GoogleAuth' is not defined -- pydrive

Solution: Import the 'GoogleAuth' module

To Solve the error, add the following line to the top of your code.

from pydrive.auth import GoogleAuth

 

For more information:
Python pydrive GoogleAuth