在虚拟环境中安装完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号
学习是最好的投资!