Python not working in command prompt?

前端 未结 20 2083
迷失自我
迷失自我 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 16:13

    Just go with the command py. I'm running python 3.6.2 on windows 7 and it works just fine.
    I removed all the python paths from the system directory and the paths don't show up when I run the command echo %path% in cmd. Python is still working fine.
    I ran into this by accidentally pressing enter while typing python...

    EDIT: I didn't mention that I installed python to a custom folder C:\Python\

提交回复
热议问题