[python] How to install easy_install in Python 2.7.1 on Windows 7

I have installed Python 2.7.1 on Windows 7, but I am unable to install easy_install. Please help me.

This question is related to python easy-install

The answer is


I usually just run ez_setup.py. IIRC, that works fine, at least with UAC off.

It also creates an easy_install executable in your Python\scripts subdirectory, which should be in your PATH.

UPDATE: I highly recommend not to bother with easy_install anymore! Jump right to pip, it's better in every regard!
Installation is just as simple: from the installation instructions page, you can download get-pip.py and run it. Works just like the ez_setup.py mentioned above.


Similar questions with python tag:

Similar questions with easy-install tag: