我正在尝试使用此命令启动服务,但出现此错误python 未被识别为内部或外部命令
我知道我需要更改路径。但我尝试过并没有得到解决方案。
我当前的路径:C:\Program Files\Python2.7\Lib\site-packages\Django-1.8-py2.7.egg\django\bin\mysite
我需要在路径中更改什么?
您必须添加 python.exe 二进制文件的路径,而不是您的 django 网站。
您需要将包含 python 可执行文件的目录添加到 PATH 环境中。更多信息在此链接https://docs.python.org/2/faq/windows.html中第一个问题的末尾