pip3安装uwsgi|python3安装
centos 7.3
安装nginx,mysql,python3.4
安装pip3
pip3 安装依赖
安装python34devel
yum install python34-devel
安装uwsgi
编写test.py测试uwsgi
def application(env, start_response): start_response('200 OK', [('Content-Type','text/html')]) return [b"Hello World"] # python3 #return ["Hello World"] # python2
注意python3和python2的测试方法是不一样的。