在虚拟环境中安装完pip install uwsgi
运行以下这个webapp.py程序
def application(environ, start_response):
start_response('200 OK',
[('Content-Type', 'text/html')]) return 'Hello, World!'执行以下命令uswgi --http:9090 --wsgi-file webapp.py
出现以下错误:
`uwsgi: unrecognized option '--http:'
getopt_long() error

Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...