>  Q&A  >  본문

ubuntu16.04安装uwsgi问题

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


高洛峰高洛峰2912일 전2035

모든 응답(1)나는 대답할 것이다

  • 三叔

    三叔2016-10-28 15:02:36

    --http-socket和:9090后面要加空格

    회신하다
    0
  • 취소회신하다