首页 > 移动平台 > 详细

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

时间:2018-12-19 23:56:51      阅读:1217      评论:0      收藏:0      [点我收藏+]

说起来有点坑

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

提示

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

 

就这个问题坑我两天

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

原文:https://www.cnblogs.com/gcgc/p/10146983.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!