I've been following some of the examples, but seem to have problems 
importing from the google.appengine.api once I've deployed to GAE.     
Adding some debugging the error is No module named 'google'


Do I need to do anything special in my main.py, app.yaml or requirement.txt 
to get the google.appengine.api?   I can't seem to find details about this 
in the documentation


main.py

try:

from google.appengine.api import urlfetch

except Exception as e:

error = str(e)


app.yaml

runtime: python

vm: true

entrypoint: gunicorn -b :$PORT main:app

runtime_config:

python_version: 3


requirements.txt

Flask==0.11.1

gunicorn==19.6.0

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/fa1ecee1-5198-4a68-84c3-8ccfab64d177%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to