Workaround PyDrive in Google DataLab


Encounter a strange problem to load PyDrive in Google DataLab:

--> 141 @_helpers.positional(3)
    142 def run_flow(flow, storage, flags=None, http=None):
    143     """Core code for a command-line application.

AttributeError: 'module' object has no attribute 'positional'

Of course, no apparent results and solutions in google. But after a few trying, there is a workaround to load it properly: change the kernel type and change it back. What a weird problem!


One response to “Workaround PyDrive in Google DataLab”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

This site uses Akismet to reduce spam. Learn how your comment data is processed.