python is not recognized as an internal or external command

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:Python27Scripts

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?

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

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.

Method 2

Try this screencast or (not a best way) put python executable into C:Windowssystem32 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.


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x