How to downgrade the installed version of 'pip' on windows?

python, windows

Solution

`pip` itself is just a normal python package. Thus you can install pip with pip.

Of cource, you don't want to affect the system's pip, install it inside a virtualenv.

pip install pip==1.2.1

Problem

On a windows 7 machine I have `pip` version 1.5.6 installed: ``` pip 1.5.6 from C:\Users\dietz\PNC\tas\ENV\lib\site-packages (python 2.7) ``` In order to find the reason for an error I want to install a different version of pip, which worked fine for me. So how can I uninstall `pip` and install version 1.2.1 instead?

Original source