To install pip on Win­dows, you need to first install its pre­de­ces­sor – easy install. How­ever, if you’re using a 64-bit dis­tri­b­u­tion of  Python then the .exe installers here will give you this error when you run it:

image

This is due to a dis­tu­tils installer com­pat­i­bil­ity issue, but all’s not lost, you just need to down­load the ez_setup.py and run it, it will then down­load the appro­pri­ate .egg file and install it for you.

You then need to add the Scripts folder in your Python dis­tri­b­u­tion, e.g. C:\Python27\Scripts to the Win­dows path, and open up a DOS prompt and run easy_install pip and voila!

Share

2 Responses to “Python – install pip on 64bit Windows”

  1. Chris Sherlock says:

    Awe­seome — that’s exactly what I was look­ing for!

  2. Chitresh says:

    Nice one. The instruc­tions are con­cise and accu­rate. Thanks

Leave a Reply