title: Error in gcloud " AttributeError: 'module' object has no attribute 'DEFAULT_MAX_REDIRECTS'"
body: <p>I am trying to implement firebase functions cron job from this link : <a href="https://github.com/firebase/functions-cron" rel="nofollow noreferrer">https://github.com/firebase/functions-cron</a></p>
  
  <p>Everything worked properly
  But when I try to run google cloud cron job it gives me below error :</p>
  
  <pre><code> (/base/alloc/tmpfs/dynamic_runtimes/python27/c5586dbb532f7e5f_unzipped/python27_lib/versions/1/google/appengine/runtime/wsgi.py:263)
  Traceback (most recent call last):
    File "/base/alloc/tmpfs/dynamic_runtimes/python27/c5586dbb532f7e5f_unzipped/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 240, in Handle
      handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
    File "/base/alloc/tmpfs/dynamic_runtimes/python27/c5586dbb532f7e5f_unzipped/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
      handler, path, err = LoadObject(self._handler)
    File "/base/alloc/tmpfs/dynamic_runtimes/python27/c5586dbb532f7e5f_unzipped/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 85, in LoadObject
      obj = __import__(path[0])
    File "/base/data/home/apps/s~debitcredit-7ecc0/20180506t121449.409523654918066893/main.py", line 18, in &lt;module&gt;
      import pubsub_utils
    File "/base/data/home/apps/s~debitcredit-7ecc0/20180506t121449.409523654918066893/pubsub_utils.py", line 24, in &lt;module&gt;
      import oauth2client.contrib.appengine as gae_oauth2client
    File "./lib/oauth2client/contrib/appengine.py", line 36, in &lt;module&gt;
      from oauth2client import client
    File "./lib/oauth2client/client.py", line 39, in &lt;module&gt;
      from oauth2client import transport
    File "./lib/oauth2client/transport.py", line 255, in &lt;module&gt;
      redirections=httplib2.DEFAULT_MAX_REDIRECTS,
  AttributeError: 'module' object has no attribute 'DEFAULT_MAX_REDIRECTS'
  </code></pre>
  
  <p>I tried this solution : <a href="https://stackoverflow.com/questions/41875358/getting-attributeerror-module-object-has-no-attribute-default-max-redirects">Getting AttributeError: &#39;module&#39; object has no attribute &#39;DEFAULT_MAX_REDIRECTS&#39; when running Google Sheets API quickstart</a> </p>
  
  <p>But still no luck.</p>
  
  <p>Can anyone please help me with this.</p>