Gunicorn with Flask using wrong Python
问题 I'm trying to bootstrap a Flask app on a Gunicorn server. By putting the two tools' docs together, plus searching around on SO, this is what I have so far... but it's not quite working. app.py : from flask import Flask, render_template from flask.ext.sqlalchemy import SQLAlchemy from werkzeug.contrib.fixers import ProxyFix app = Flask(__name__) app.wsgi_app = ProxyFix(app.wsgi_app) db = SQLAlchemy(app) @app.route('/') def index(): return render_template('index.html') what I ran : From the