from cherrypy import wsgiserver -> ImportError: cannot import name wsgiserver
try:
from cheroot.wsgi import Server as WSGIServer
from cheroot.ssl.builtin import BuiltinSSLAdapter
except ImportError:
from cherrypy.wsgiserver import CherryPyWSGIServer as WSGIServer
from cherrypy.wsgiserver.ssl_builtin import BuiltinSSLAdapter
server = WSGIServer((HOST, PORT), application)
还没有评论,来说两句吧...