python is not recognized as an internal or external command

devsda picture devsda · Jan 21, 2013 · Viewed 28.2k times · Source

I try to install this software. For that Python is required.

I installed Python from here of name python-2.7.3.msi.

I am working on Windows 7.

Hierarchy of my Python software is same as in this post.

After doing that, I make PATHVALUE = C:\Python27\Scripts

When I run any Python file, it shows

python is not recognized as an internal or external command, operable program or batch file. Failed to create vc project files.

How can I resolve this?

Answer

Yuushi picture Yuushi · Jan 21, 2013

You want to append to your PATH the string C:\Python27, not the scripts folder. Basically, you want the folder with the actual binary python.exe on your path.