My FLASK web deployment to IIS running after, appear the following error:
Error occurred while reading WSGI handler: Traceback (most recent call last): File "C:\Python39\lib\site-packages\wfastcgi-3.0.0-py3.9.egg\wfastcgi.py", line 791, in main env, handler=read_wsgi_handler(response.physical_path) File "C:\Python39\lib\site-packages\wfastcgi-3.0.0-py3.9.egg\wfastcgi.py", line 633, in read_wsgi_handler handler=get_wsgi_handler(os.getenv("WSGI_HANDLER")) File "C:\Python39\lib\site-packages\wfastcgi-3.0.0-py3.9.egg\wfastcgi.py", line 616, in get_wsgi_handler raise ValueError('"%s" could not be imported%s' % (handler_name, last_tb)) ValueError: "ITSystemCheck.app" could not be imported: Traceback (most recent call last): File "C:\Python39\lib\site-packages\wfastcgi-3.0.0-py3.9.egg\wfastcgi.py", line 600, in get_wsgi_handler handler=__import__(module_name, fromlist=[name_list[0][0]]) ModuleNotFoundError: No module named 'ITSystemCheck' StdOut: StdErr:
Excuse me, is in the web. Config fill in WSGI_HANDLER value is wrong? I fill in is the project name "ITSystemCheck")
What other reasons can cause this error?
Thank you for your guidance!
CodePudding user response:
https://blog.csdn.net/COLDRAIN_END/article/details/100172040CodePudding user response: