Skip to content Skip to sidebar Skip to footer

Getting Attributeerror: 'module' Object Has No Attribute 'default_max_redirects' When Running Google Sheets Api Quickstart

I'm following this guide https://developers.google.com/sheets/api/quickstart/python Upon running the sample code they provided (The only thing I changed was the location of the api

Solution 1:

I got the same error and investigated on the problem. In my case, it was caused by a file named ''calendar.py" in the same directory. It's said you should avoid using general names that can be used for standard python library.

Solution 2:

It may be versioning problem. It could be python3 version of httplib2 which cause troubles, try to follow answer from this post

Post a Comment for "Getting Attributeerror: 'module' Object Has No Attribute 'default_max_redirects' When Running Google Sheets Api Quickstart"