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?
From cygwin prompt, do:
This will install easy_install on your cygwin.
Easy as py.
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
, runeasy_install-2.7
oreasy_install-3.4
(or whateverx.y
version of Python you have installed).Easy Install is a python module (easy_install) bundled with setuptools, which can be found here: http://pypi.python.org/pypi/setuptools . You must install setuptools by yourself.
If you need python with setuptools to work within cygwin than:
In addition to installing setuptools (as described in other answers), you also need to make sure
C:\Python25\Scripts
is in yourPATH
.