ubuntu16.04安装uwsgi问题

 hja2045905 发布于 2022-11-26 12:14

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


1 个回答
  • --http-socket和:9090后面要加空格

    2022-11-26 14:00 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有