【发布时间】:2015-05-13 15:01:08
【问题描述】:
我使用的是 64 位的 Windows 8。我安装了 Python,看到 Windows Path 被两条路径附加:C:\Python27\Scripts; C:\Python27;
所以当我运行cmd 并输入python 时,我得到了错误
'python' 未被识别为内部或外部命令, 可运行的程序或批处理文件。
我也试过py,同样的错误。
我目前正在使用here 提出的解决方案,所以我正在输入
C:\Python27\python.exe manage.py runserver 例如。但这不是我想要的。如何使用命令python 使其工作?
提前致谢。
【问题讨论】:
标签: python windows batch-file cmd path