uwsgi启动Django项目时:unable to load app 0 (mountpoint='') (callable not found or import error) *** no app loaded. going in full dynamic mode ***

说起来有点坑

用命令都能正常启动,但是用配置文件就是不行

提示

unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***

最后准备睡觉了了,无意间解决了

uwsgi.ini文件的wsgi模块是这样写的,一直报错,网上的都找遍了还是没解决

module = AutoTestSite.wsgi:application //指定wsgi模块

最后修改注释,放到上面,成功启动了

#指定wsgi模块
module = AutoTestSite.wsgi:application

 

就这个问题坑我两天

posted @ 2018-12-19 23:35  秋寻草  阅读(3642)  评论(0编辑  收藏  举报