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