0
我想在Windows XP上設置Python SimpleHTTPServer。我的電腦上安裝了Python。我執行以下命令:在窗口上創建http服務器時出錯
python -m SimpleHTTPServer 8888
但我得到的錯誤:
python : The term 'python' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
您可能需要到Python添加到Windows PATH環境變量。如果從包含python.exe的目錄運行相同的命令,它是否工作? – 101