Old Python 2.7 install on Windows need pip / setuptools help?

home | blog | Teh Internet | guest blog |rants | political | projects | Gwen and Liam | Citadel patched | Tools | TMBG

- Careful Chrome users, this search box might be "Not secure"

Had some trouble with pip installing packages on a Windows install today.
I had a need to use pyad - 'cause screw using Powershell and writing 500 lines of code to do the same thing in what turned out to be 41 lines....
That rant aside, if you find pip or setuptools not working, here is how to kick-start it:
python -m ensurepip
python -m pip install -U pip setuptools

Then give your installer another go (should be installed and upgraded).
Global install if you dare:
python setup.py install