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!

 

Learn to build Production-Ready Serverless applications

Want to learn how to build Serverless applications and follow best practices? Subscribe to my newsletter and join over 5,000 AWS & Serverless enthusiasts who have signed up already.

3 thoughts on “Python – install pip on 64bit Windows”

Leave a Comment

Your email address will not be published. Required fields are marked *