 <p>Your application import_name can't be identified properly in *.tac file. If you create flask application in *.py file and import it in *.tac it will work just fine.</p> <p>But you also need another list of <a href="http://twistedmatrix.com/documents/current/web/howto/web-in-60/wsgi.html" rel="nofollow">instructions</a> for deploying Flask application via twistd. Minimal example looks like this:</p> <pre><code>from twisted.application import internet, service from twisted.web.server import Site from twisted.web.wsgi import WSGIResource from twisted.internet import reactor from my_flask_module import my_flask_app application = service.Application('myapplication') service = service.IServiceCollection(application) flask_resource = WSGIResource(reactor, reactor.getThreadPool(), my_flask_app) flask_site = Site(flask_resource) internet.TCPServer(8000, flask_site).setServiceParent(service) </code></pre>