Open realhawk1978 opened 7 years ago
我用pip install uwsgi 安装了一遍就可以使用了。
我用pip install uwsgi 安装了一遍就可以使用了。
pip install uwsgi
vi uwsgi #修改DAEMON=/usr/local/bin/uwsgi
cp uwsgi /etc/init.d/uwsgi /etc/init.d/uwsgi stop && /etc/init.d/uwsgi start 重启uwsgi, 用yum装的不行,因为centos6是Py2.6,这个项目需要2.7,2.7一般都是源码安装路径不一样, 估计centos7下是可以直接用的.
--- no python application found, check your startup logs for errors --- [pid: 16532|app: -1|req: -1/1] 127.0.0.1 () {32 vars in 340 bytes} [Tue Dec 13 10:00:59 2016] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
请问这个是怎么回事,谢谢!!