Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 "", the result is also " 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?

share|improve this question

From cygwin prompt, do:

$ wget
$ python

This will install easy_install on your cygwin.

Easy as py.

share|improve this answer
Plus One for the Horrible Pun. – Fergal Moran Sep 5 '11 at 19:22
After installation, to use easy_install, make sure C:\Python27\Scripts (or similar) is in your PATH. – Juuso Ohtonen Jun 2 '14 at 9:01

easy_install is part of the setuptools package. This package is provided by cygwin. To install it, rerun the cygwin setup[...].exe installer, and at the package selection step, tick "Python/python-setuptools".

The easy_install script has the version number attached. Instead of running easy_install, run easy_install-2.7 or easy_install-3.4 (or whatever x.y version of Python you have installed).

share|improve this answer
Install the cygwin package, then run easy_install-<ver>. Turns out the cygwin packages suffix with the version number in case you have python 2 and python 3 installed. – cxw Jun 7 '15 at 15:03

Easy Install is a python module (easy_install) bundled with setuptools, which can be found here: . You must install setuptools by yourself.

  • If you want to install it into windows python than use setuptools install script from cmd shell or use MS Windows installer
  • If you need python with setuptools to work within cygwin than:

    • use cygwin's own python (you can install one using cygwin's setup.exe)
    • use setuptools source
share|improve this answer
I don't think so. "which easy_setup" and "which" says that it is not found. – Alex Gontmakher May 11 '09 at 21:09
There is (at least now) a setuptools package in Cygwin which is almost certainly a better way to install it for a Cygwin installation - and easier for someone used to Cygwin. – Francis Davey Jan 29 '14 at 20:42

In addition to installing setuptools (as described in other answers), you also need to make sure C:\Python25\Scripts is in your PATH.

share|improve this answer
Are you sure? I use the python that comes with cygwin and not the separatly installed windows one. – towi Feb 10 '13 at 15:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.