title: ImportError: No module named google.oauth2
body: <p>I wanted to add a google.cloud.storage dependency to my project so I tried to install this dependency with</p>
  
  <p><code>pip install --upgrade google-cloud-storage</code></p>
  
  <p>Running my app again with dev_appserver, it shows me that my gcloud components needed to be updated. Ok so, <code>gcloud components update</code></p>
  
  <p>And in my <code>src/__init__.py</code> file, I got the code that tells gcloud in which folder to look for dependencies like this:</p>
  
  <pre><code>from google.appengine.ext import vendor
  
  vendor.add('src/libs')
  </code></pre>
  
  <p>All the dependencies are installed correctly, except that I'm getting the error <code>ImportError: No module named google.oauth2</code></p>
  
  <p>PS: My app is using OAuth2 to secure access to the API. And it was working correctly before I do a components update, now even if I rollback code, remove the libs folder and install again dependencies, I still got the No module error, and it seems like dev_appserver is not looking for that dependency inside the libs folder !</p>
  
  <p>Here's the result of <code>gcloud --version</code>:</p>
  
  <pre><code>Google Cloud SDK 188.0.1
  app-engine-python 1.9.66
  app-engine-python-extras 1.9.63
  bq 2.0.28
  core 2018.02.08
  gsutil 4.28
  </code></pre>
  
  <p>And here's the Traceback:</p>
  
  <pre><code>Traceback (most recent call last):
    File "/home/login/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 240, in Handle
      handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
    File "/home/login/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
      handler, path, err = LoadObject(self._handler)
    File "/home/login/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 96, in LoadObject
      __import__(cumulative_path)
    File "/home/headless/Documents/Projects/meterFleet/app-backend/src/main.py", line 5, in &lt;module&gt;
      from src.app.user.api import UserApi
    File "/home/headless/Documents/Projects/meterFleet/app-backend/src/app/user/api.py", line 7, in &lt;module&gt;
      from src.googleapis.iam import getIamPolicy, addIapUser, deleteIapUser
    File "/home/headless/Documents/Projects/meterFleet/app-backend/src/googleapis/iam.py", line 5, in &lt;module&gt;
      from src.common.authentication import OAuth
    File "/home/headless/Documents/Projects/meterFleet/app-backend/src/common/authentication.py", line 3, in &lt;module&gt;
      from google.oauth2 import service_account
    File "/home/login/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/python/runtime/sandbox.py", line 1147, in load_module
      raise ImportError('No module named %s' % fullname)
  ImportError: No module named google.oauth2
  </code></pre>