首页 > 其他分享> > 报错 This is a development server. Do not use it in a production deployment.Use a production
报错 This is a development server. Do not use it in a production deployment.Use a production
作者:互联网
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead
用gevent包里的pywsgi
优点:速度快,第三方开发维护
if __name__ == '__main__':
from gevent import pywsgi server = pywsgi.WSGIServer(('0.0.0.0',5000),app)
server.serve_forever()
标签:development,__,Use,pywsgi,server,production,报错,0.0 来源: https://www.cnblogs.com/yzl050819/p/16136399.html