Python – install pip on 64bit Windows

To install pip on Windows, you need to first install its predecessor – easy install. However, if you’re using a 64-bit distribution of  Python then the .exe installers here will give you this error when you run it:

image

This is due to a distutils installer compatibility issue, but all’s not lost, you just need to download the ez_setup.py and run it, it will then download the appropriate .egg file and install it for you.

You then need to add the Scripts folder in your Python distribution, e.g. C:\Python27\Scripts to the Windows path, and open up a DOS prompt and run easy_install pip and voila!


Yan Cui

I’m an AWS Serverless Hero and the author of Production-Ready Serverless. I have run production workload at scale in AWS for nearly 10 years and I have been an architect or principal engineer with a variety of industries ranging from banking, e-commerce, sports streaming to mobile gaming. I currently work as an independent consultant focused on AWS and serverless.

You can contact me via Email, Twitter and LinkedIn.

Hire me.