ubuntu16.04安装uwsgi问题
高洛峰
高洛峰 2016-10-28 15:02:22
[Python讨论组]

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


高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

全部回复(1)
三叔

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

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号