windows install pip python 2.7 code example Example 1: installing pip python -m pip install --upgrade pip Example 2: download pip for windows python get-pip.py