由于
zarf和
damjanirc.freenode.org上在#pocoo,他们能够帮我修复此问题。问题是PythonPath不正确。我们使用以下wsgi.py修复了此问题
import syssys.path.insert(0, "/sites/flaskfirst")from app import appapplication = app

由于
zarf和
damjanirc.freenode.org上在#pocoo,他们能够帮我修复此问题。问题是PythonPath不正确。我们使用以下wsgi.py修复了此问题
import syssys.path.insert(0, "/sites/flaskfirst")from app import appapplication = app