title: Exception when trying to create bigquery table via python API
body: <p>I'm working on an app that will stream events into BQ. Since Streamed Inserts require the table to pre-exist, I'm running the following code to check if the table exists, and then to create it if it doesn't:</p>
  
  <pre><code>TABLE_ID = "data" + single_date.strftime("%Y%m%d")
  exists = False;
  
  request  = bigquery.tables().list(projectId=PROJECT_ID,
                                          datasetId=DATASET_ID)
  response = request.execute()
  
  while response is not None:
      for t in response.get('tables', []):
          if t['tableReference']['tableId'] == TABLE_ID:
              exists = True
              break
  
      request = bigquery.tables().list_next(request, response)
      if request is None:
          break
  
  if not exists:
      print("Creating Table " + TABLE_ID)
      dataset_ref = {'datasetId': DATASET_ID,
                     'projectId': PROJECT_ID}
      table_ref = {'tableId': TABLE_ID,
                   'datasetId': DATASET_ID,
                   'projectId': PROJECT_ID}
      schema_ref = SCHEMA
      table = {'tableReference': table_ref,
               'schema': schema_ref}
      table = bigquery.tables().insert(body=table, **dataset_ref).execute(http)
  </code></pre>
  
  <p>I'm running python 2.7, and have installed the google client API through PIP.</p>
  
  <p>When I try to run the script, I get the following error:</p>
  
  <pre><code>No handlers could be found for logger "oauth2client.util"
  Traceback (most recent call last):
    File "do_hourly.py", line 158, in &lt;module&gt;
      main()
    File "do_hourly.py", line 101, in main
      body=table, **dataset_ref).execute(http)
    File "build/bdist.linux-x86_64/egg/oauth2client/util.py", line 142, in positional_wrapper
    File "/usr/lib/python2.7/site-packages/googleapiclient/http.py", line 721, in execute
      resp, content = http.request(str(self.uri), method=str(self.method),
  AttributeError: 'module' object has no attribute 'request'
  </code></pre>
  
  <p>I tried researching the issue, but all I could find was info about confusing between urllib, urllib2 and Python 2.7 / 3.</p>
  
  <p>I'm not quite sure how to continue with this, and will appreciate all help.</p>
  
  <p>Thanks!</p>