title: App Engine Error No module google.cloud.speech and appengine.api
body: <p>I'm using Google Cloud AppEngine based on the examples provided on <a href="https://github.com/GoogleCloudPlatform/python-docs-samples" rel="nofollow noreferrer">Github</a> I was testing the blobstore example but when I try to include the API google.cloud.speech in that example I get the error "No module named google.cloud.speech" but in the speech demo the same import it works.</p>
  
  <blockquote>
    <p>dev_appserver.py app.yaml</p>
  </blockquote>
  
  <p>In the speech demo when I include the import google.appengine.api I have the error No module named appengine.api, but the same import it works on the blobstore example.</p>
  
  <blockquote>
    <p>python2.7 transcribeSpeech.py resources/audio.raw</p>
  </blockquote>
  
  <p>First Error</p>
  
  <pre><code>ERROR    2018-01-17 12:07:09,600 wsgi.py:263]
  Traceback (most recent call last):
    File "/google/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 240, in Handle
      handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
    File "/google/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
      handler, path, err = LoadObject(self._handler)
    File "/google/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 85, in LoadObject
      obj = __import__(path[0])
    File "/home/user/src/project/python_gae_quickstart_editor-2018-01-14-21-40/appengine/standard/blobstore/gcs/main.py", line 13, in &lt;module&gt;
      from google.cloud import speech
    File "/google/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.cloud.speech
  </code></pre>
  
  <p>Second error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "transcribeSpeech.py", line 39, in &lt;module&gt;
      import cloudstorage
    File "/home/user/src/project/python_gae_quickstart_editor-2018-01-14-21-40/appengine/standard/blobstore/gcs/lib/cloudstorage/__init__.py", line 20, in &lt;module&gt;
      from .api_utils import RetryParams
    File "/home/user/src/project/python_gae_quickstart_editor-2018-01-14-21-40/appengine/standard/blobstore/gcs/lib/cloudstorage/api_utils.py", line 45, in &lt;module&gt;
      from google.appengine.api import app_identity
  ImportError: No module named appengine.apiv
  </code></pre>