Hi there, It sounds like you're deploying a Python 2 app, but specifying dependencies via a `requirements.txt` file is only supported with the App Engine Python 3 runtime.
To use third-party dependencies with the Python 2 runtime, you'll need to bundle them with your application. See this guide for instructions: https://cloud.google.com/appengine/docs/standard/python/tools/using-libraries-python-27 Dustin On Thursday, October 4, 2018 at 10:17:00 AM UTC-4, [email protected] wrote: > > Dear GAE experts -- I'm just learning the environment and hope someone can > bail me out of this situation: > > I have a tiny python script (that I cut and paste from the hello-world > example and some others) > I got it to work on my laptop (that has all the SDKs, token, etc. loaded) > After gcloud app deploy, I get 500 > Stackdriver : setting a point on the very first line of main.py tells me > that it doesn't even get there > So something's wrong with the lib's etc. > Anyone ever seen this? any clue? > Here's my requirements.txt: > flask==1.0.2 > requests==2.19.1 > requests_toolbelt==0.8.0 > oauth2client==4.1.2 > functools32==3.2.3.post2; python_version < "3" > > THANK YOU > -- 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/a96ea3c8-0974-488b-8d8e-0d477bda4587%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
