How to install a module using pip for specific Python version in Windows

In Windows, you can execute the pip module by mentioning the python version ( You need to ensure that the launcher is on your path )

py -3.5 -m pip install python_package

py -2.7 -m pip install python_package

Alternatively, you can call the desired python executable directly like this:

/path/to/python.exe -m pip install python_package

[Source]