GAE does not see the shooting, but it is already installed

I am trying to deploy a Django application with Google App Engine.

My app.yaml file:

# [START runtime] runtime: python api_version: 1 threadsafe: true env: flex entrypoint: gunicorn -b :$PORT wsgi runtime_config: python_version: 3.4 env_variables: CLOUDSQL_CONNECTION_NAME: ugram-mysql CLOUDSQL_USER: root handlers: - url: / script: wsgi.application # [END runtime] 

But when I run gcloud app deploy , the application is deployed (5 minutes), but I get an error:

 Updating service [default]...failed. ERROR: (gcloud.app.deploy) Error Response: [9] Application startup error: /bin/sh: 1: exec: gunicorn: not found 

But already fired

 mysupers-beta:~$ gunicorn usage: gunicorn [OPTIONS] [APP_MODULE] gunicorn: error: No application module specified. 
+5
source share
2 answers

Check if you have gunicorn==19.7.1 in requirements.txt .

+7
source

You need to add gunistorn to requirements.txt file.

0
source

All Articles