美文网首页
Mac下安装 uWSGI Flask Nginx 问题记录

Mac下安装 uWSGI Flask Nginx 问题记录

作者: NapoleonY | 来源:发表于2020-01-10 12:26 被阅读0次

    问题

    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/ 即可

    相关文章

      网友评论

          本文标题:Mac下安装 uWSGI Flask Nginx 问题记录

          本文链接:https://www.haomeiwen.com/subject/blmpactx.html