几天来,我在 Windows 10 PC 上成功使用:
import wsgiref.simple_server
然后
httpd = wsgiref.simple_server.make_server('', 8000, application)
我做了一些事情,因为现在我得到了 make server: AttributeError: module 'wsgiref' has no attribute 'simple_server' 我做了什么?如何解决问题?我重新安装了 Python 3.9.6,没有帮助。