1. 程式人生 > >uwsgi啟動Django項目時:unable to load app 0 (mountpoint='') (callable not found or import error) *** no app loaded. going in full dynamic mode ***

uwsgi啟動Django項目時:unable to load app 0 (mountpoint='') (callable not found or import error) *** no app loaded. going in full dynamic mode ***

site not wsgi div auto mode bsp ini 準備

說起來有點坑

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

提示

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 ***