Python not working in command prompt?

前端 未结 20 2131
迷失自我
迷失自我 2020-11-27 15:25

I type python into the command line, but the command prompt says that python is not recognized as an internal or external command, operable program, or batch fi

20条回答
  •  半阙折子戏
    2020-11-27 15:57

    Kalle posted a link to a page that has this video on it, but it's done on XP. If you use Windows 7:

    1. Press the windows key.
    2. Type "system env". Press enter.
    3. Press alt + n
    4. Press alt + e
    5. Press right, and then ; (that's a semicolon)
    6. Without adding a space, type this at the end: C:\Python27
    7. Hit enter twice. Hit esc.
    8. Use windows key + r to bring up the run dialog. Type in python and press enter.

提交回复
热议问题