2016-03-19 23 views
-1

Im Versuch, Python 3.x Skripte auf IIS zu laufen und ich kam in dieser Antwort Python 3.x-Skripte verwenden: https://stackoverflow.com/a/9745836/5457561Wie auf IIS Windows 10

Ich habe versucht, diese Methode und es scheint nicht zu funktionieren und ich erhielt 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' C „

ich frage mich, ob es eine Methode war daran vorbei, und die Verwendung python 3.x Skripte auf IIS 10

+0

Korrektur: Das ist ein Python * 2 * Skript. Wenn es wäre Python 3, da wären Klammern. – zondo

Antwort

1

einfach die Syntaxfehler beheben in.“: \ dev \ python \ HelloWorld.py ".

+0

Ich bin dumm, danke – b4sh

Verwandte Themen