pip3 install uwsgi
安装好后输入uwsgi就出现如下错误:
*** Starting uWSGI 2.0.12-debian (64bit) on [Tue Sep 13 21:56:17 2016] ***
compiled with version: 5.3.1 20160412 on 13 April 2016 08:36:06
os: Linux-4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016
nodename: gorgle-System-Product-Name
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 8
current working directory: /home/gorgle
detected binary path: /usr/bin/uwsgi-core
*** WARNING: you are running uWSGI without its master process manager ***
your processes number limit is 63679
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
The -s/--socket option is missing and stdin is not a socket.
uwsgi --http-socket:9090 --wsgi-file /www/pp/helloworld.py
执行上面的又会出现这个:
uwsgi: unrecognized option '--http-socket:9090'
getopt_long() error
--http-socket和:9090后面要加空格