美文网首页python-djangoPython
uwsgi -- no python application f

uwsgi -- no python application f

作者: 谢耳朵_X | 来源:发表于2018-03-21 11:02 被阅读3436次

使用uwsgi 配置 django的时候,遇到问题:

no python application found, check your startup logs for errors

表示uwsgi无法找到django项目,原因是根目录下的uwsgi.ini配置文件错误

原配置:

module=/var/www/project/project.wsgi #原配置为绝对路径

改为:

module=project.wsgi:application #新配置

相关文章

网友评论

    本文标题:uwsgi -- no python application f

    本文链接:https://www.haomeiwen.com/subject/nqvwqftx.html