cmd prompt does not recognizes python command on Windows 7

Random832 random832 at fastmail.com
Wed Aug 10 10:03:54 EDT 2016


On Wed, Aug 10, 2016, at 06:34, eryk sun wrote:
> On Wed, Aug 10, 2016 at 4:46 AM,  <sh.ajay12 at gmail.com> wrote:
> >
> > i have installed python 3.5 , but the python command is not recognized
> >
> > C:\Users\sharmaaj>python
> > 'python' is not recognized as an internal or external command,
> > operable program or batch file.
> >
> > what should i do to run python commands.
> 
> Modify your setup. Open "Programs and Features" from the control
> panel. Right-click the entry for Python 3.5 (not "Python Launcher")
> and select Uninstall/Change. In the dialog, click on "Modify". Click
> "Next" and select "Add Python to environment variables". Click
> "Install". When it's done, open a new command prompt and enter
> "python".

Or he could just use "py", which is the python launcher you just
mentioned, and works fine. If he has other versions of python installed
he may need "py -3".



More information about the Python-list mailing list