Python – How to run easy_install in cygwin

cygwineasy-installpython

I am trying to install some package in cygwin's python, but I'm getting the following error: "easy_install: command not found".

I have tried to run "easy_install.py", the result is also "easy_install.py: command not found". I have tried to search the whole of cygwin's /usr tree for anything named with the prefix "easy", none found.

Am I missing something? AFAIK, easy_install tool should be batteries included in python 2.5. Or is there a package that needs to be installed for that that I missed?

Best Answer

From cygwin prompt, do:

$ wget http://peak.telecommunity.com/dist/ez_setup.py
$ python ez_setup.py

This will install easy_install on your cygwin.

Easy as py.