title: Error importing Google Cloud Bigquery api module in python app
body: <p>I am trying to import bigquery into my python app <code>from google.cloud import bigquery</code>and run it locally with dev_appserver.py, but I receive an error:</p>
  
  <pre><code>File "/Volumes/Budhi/Users/anjas/Projects/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 240, in Handle
  handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
  File "/Volumes/Budhi/Users/anjas/Projects/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
  handler, path, err = LoadObject(self._handler)
  File "/Volumes/Budhi/Users/anjas/Projects/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 85, in LoadObject
  obj = __import__(path[0])
  File "/Volumes/Budhi/Users/anjas/Projects/wordworks/urlworker/main.py", line 9, in &lt;module&gt;
  from google.cloud import bigquery
  File "/Volumes/Budhi/Users/anjas/Projects/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/python/sandbox.py", line 999, in load_module
  raise ImportError('No module named %s' % fullname)
  ImportError: No module named google.cloud.bigquery
  </code></pre>
  
  <p>I have installed bigquery lib with pip:</p>
  
  <pre><code>pip install --upgrade google-cloud-bigquery
  </code></pre>
  
  <p>Also I've tried installing it as 3d party library into lib directory with no result.</p>
  
  <p>Though it works when I try importing bigquery lib from python shell:</p>
  
  <pre><code>Python 2.7.10 (default, Jul 30 2016, 18:31:42) 
  [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin
  Type "help", "copyright", "credits" or "license" for more  information.
  &gt;&gt;&gt; from google.cloud import bigquery
  &gt;&gt;&gt; 
  </code></pre>
  
  <p><strong>Update:</strong></p>
  
  <p>It seems that "google" module installed to project/lib/ folder is clashing with "google" module in google-cloud-sdk/platform/google_appengine. </p>
  
  <p>When trying to do</p>
  
  <pre><code>from google.cloud import bigquery
  </code></pre>
  
  <p>python looks for the module inside <strong>google-cloud-sdk/platform/google_appengine/google</strong> not inside <strong>project/lib/google/cloud</strong></p>
  
  <p>Any ideas?</p>