Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python is not recognized as an internal or external command [duplicate]

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?

like image 602
devsda Avatar asked Jan 21 '13 06:01

devsda


2 Answers

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.

like image 143
Yuushi Avatar answered Sep 19 '22 18:09

Yuushi


Try this screencast or (not a best way) put python executable into C:\Windows\system32 folder.

The better way is to change Windows environment variable. In short, your path is: My Computer ‣ Properties ‣ Advanced ‣ Environment Variables

For more details please see this.

like image 35
insider Avatar answered Sep 17 '22 18:09

insider