Mac下安装 uWSGI Flask Nginx 问题记录

2020-01-10  本文已影响0人  NapoleonY

问题

  1. uwsgi uwsgi.ini 启动 uwsgi 时,出现如下错误

!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!
no request plugin is loaded, you will not be able to manage requests.
you may need to install the package for your language of choice, or simply load it with --plugin.
!!!!!!!!!!! END OF WARNING !!!!!!!!!!

解决:

在 uwsgi.ini 中添加 plugins = python3即可

!!! Python Home is not a directory: /Users/xxx/Documents/Python/MyFlaskTest/venv/bin/python !!!

解决:

在 uwsgi.ini 中将home设为
/Users/xxx/Documents/Python/MyFlaskTest/venv/ 即可

上一篇 下一篇

猜你喜欢

热点阅读