Shubham Khatri Shubham Khatri - 3 years ago 155
Python Question

Python not recognised as an internal or external command in windows 7

I have installed python 2.7.11 from this link and then restarted my system. However when I go to cmd and run

python --version
. It gives me an error that

python not recognized as an internal or external command.

So I try to manually add it to my
Path variable
I see my python being installed at
so I add
to path variable and reopened
windows cmd
. But it still gives me the same error.

Is there some other way to get over with this problem.


Answer Source

Python2.7 contains a scripts that adds location to path for windows.

So running


solved my issue

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download