How to Solve NameError: name 'GoogleDrive' is not defined -- pydrive
Solution: Import the 'GoogleDrive' module
To Solve the error, add the following line to the top of your code.
from pydrive.drive import GoogleDrive
For more information:
Python pydrive GoogleDrive