Como executar o TensorFlow no ambiente flexível do Google App Engine?

Antes de perguntar por que o GAE não pode encontrar a biblioteca TensorFlow aquihttps://stackoverflow.com/questions/40241846/why-googleappengine-gives-me-importerror-no-module-named-tensorflow

EDmytro Sadovnychyi me disse que o GAE não pode executar o TensorFlow, mas o GAE flexível pode.

Então, eu criei meu projeto na zona dos EUA e tentando implantar meu projeto simples:

import webapp2
import tensorflow as tf

class MainHandler(webapp2.RequestHandler):
    def get(self):
        hello = tf.constant('Hello, TensorFlow!')
        sess = tf.Session()
        self.response.write(sess.run(hello))
        a = tf.constant(10)
        b = tf.constant(32)
        self.response.write(sess.run(a + b))
        #self.response.write('asd');


app = webapp2.WSGIApplication([
    ('/', MainHandler)
], debug=True)

witnvm: true em yaml.

Isto é yaml:

application: tstmchnlrn
version: 1
runtime: python27
vm: true
api_version: 1
threadsafe: yes

handlers:
- url: /favicon\.ico
  static_files: favicon.ico
  upload: favicon\.ico

- url: .*
  script: main.app

libraries:
- name: webapp2
  version: "2.5.2"

Implantar sucessos, mas recebo Erro interno do servidor ao visitar meu aplicativo emappspot e console ainda me mostraImportError: No module named tensorflow.

O que preciso fazer para que o aplicativo baseado no TensorFlow seja executadoflexible enviroment?

questionAnswers(2)

yourAnswerToTheQuestion