Skip to content Skip to sidebar Skip to footer

Python Script Doesn't Work On Windows (but Works On Mac)

I run exactly the same script successfully on mac, but it fails on windows server 2012 r2. I wonder what can be a reason and what should i check? Here is a script: import pygsheets

Solution 1:

Its a known bug in pygsheets, install from github to get the fix. Or as a workaround, you can turn cache off.

import pygsheets
gc = pygsheets.authorize(service_file='credentials.json', no_cache=True)

Post a Comment for "Python Script Doesn't Work On Windows (but Works On Mac)"