Download Python and install it in a directory without whitespaces. For example:
c:\Python.
As the administrator, update the PATH environment variable:
From Control Panel > System, click the Advanced system setting link.
Click Advanced, then click Environment Variables.
In the System Variables field, select PATH and click Edit.
After the last entry in the PATH value, enter a semi-con and add the Python installation directory path. For example, add:
;c:\Python27
Click OK to close the Environment Variable dialog.
From PowerShell or the command line, validate your environment variable settings by entering:
python –V Python 2.7.10