一般直接用pip install uwsgi可能会出错,所以在这之前先安装其他必要的引用库
yum groupinstall "Development tools"
yum install zlib-devel bzip2-devel pcre-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel
yum install python3-devel
yum install gcc
再用pip install uwsgi 即可
使用方法是在你的应用文件下新建uwsgi.ini文件,
打开文件写下面的配置
原文:https://www.cnblogs.com/hanzg/p/13369744.html