如何在iiswindows10上使用python3.x脚本

2024-05-16 03:01:44 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图在IIS上运行python3.x脚本,但我遇到了这样的答案:https://stackoverflow.com/a/9745836/5457561

我试过这个方法,但似乎没用,我收到了The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are " File "C:\dev\python\HelloWorld.py", line 1 print 'Content-Type: text/plain' ^ SyntaxError: Missing parentheses in call to 'print'。在

我只是想知道是否有一种方法可以克服这个问题,在IIS10上使用Python3.x脚本


Tags: the方法答案https脚本comapplicationiis