Flask app is not start over twisted 16.4.X as wsgi
<p>I have simple Flask app test.py:</p>

<pre><code>from flask import Flask

app = Flask(__name__)

@app.route('/')
def test():
    return 'Hello world!'

if __name__ == '__main__':
    app.run()
</code></pre>

<p>Run over twisted 16.3.0 work fine:</p>

<pre><code>twistd -n web --port 5000 --wsgi test.app
</code></pre>

<p>After upgrade twisted to 16.4.0 i have got error on start:</p>

<pre><code>No such WSGI application: 'test.app'
</code></pre>

<p>What is mean?</p>

<p>Your are likely picking up the <code>test</code> module which is part of the Python standard library. Rename your code file (module) to something else. You also may need to set <code>PYTHONPATH</code> so it looks in the directory where code module is.</p>

python flask twisted wsgi