码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2018-12-20 00:08:15      阅读:2038      评论:0      收藏:0      [点我收藏+]

标签:文件的   import   ***   命令   module   ror   color   django   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

 

就这个问题坑我两天

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

标签:文件的   import   ***   命令   module   ror   color   django   mode   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!