When install Python version from 3.3 or newer a py.exe is placed in the Windows folder. This can be used to run all version 2 or 3 on that computer,can also choose pip to run from different version. So here running Python 2.7 and can install with pip using -m command. This work for all version installed.