Ubuntu unavailable modifier requested: 0


錯誤Log如下

!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!
Mon Oct  5 11:13:12 2020 - no request plugin is loaded, you will not be able to manage requests.
Mon Oct  5 11:13:12 2020 - you may need to install the package for your language of choice, or simply load it with --plugin.
Mon Oct  5 11:13:12 2020 - !!!!!!!!!!! END OF WARNING !!!!!!!!!!
Mon Oct  5 11:13:12 2020 - spawned uWSGI master process (pid: 11836)
Mon Oct  5 11:13:12 2020 - spawned uWSGI worker 1 (pid: 11837, cores: 1)
Mon Oct  5 11:13:12 2020 - spawned uWSGI worker 2 (pid: 11838, cores: 1)
Mon Oct  5 11:13:18 2020 - -- unavailable modifier requested: 0 --
Mon Oct  5 11:13:19 2020 - -- unavailable modifier requested: 0 --

 版本Ubuntu14.04,Django1.6.5 ubuntu本地Uwsgi調Django可能會報錯:

-- unavailable modifier requested: 0 --

     解決方法:先安裝一個組件:

apt-get install uwsgi-plugin-python3

然后uwsgi設置文件里添加一行:

plugins=python3


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM