“python” not recognized as a command

后端 未结 12 1890
粉色の甜心
粉色の甜心 2020-11-22 14:01

I just downloaded and installed Python 2.7.2 to my laptop and I am trying to run some sample programs. My laptop is running Windows XP.

When I open a cmd

12条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-22 14:32

    Go to Control Panel / System / "Advanced" tab / Enviromental Variables

    Find variable called PATH in the lower list, and edit it. Add to the end C:\Python27

    Open a new cmd window and try now.

提交回复
热议问题