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)
from cherrypy import wsgiserver -> ImportError: cannot import name wsgiserver
猜你喜欢
转载自blog.csdn.net/youshaoduo/article/details/108255656
今日推荐
周排行