Im trying to run python 3.x scripts on IIS and I came across this answer: https://stackoverflow.com/a/9745836/5457561
I tried this method and it didn't seem to work and I recieved 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'
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'
".
I was just wondering whether there was a method to get past this and use python 3.x scripts on IIS 10
只需修复“C:\\dev\\python\\HelloWorld.py”中的语法错误。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.