cygwinのsetuptoolsがインストールされていない場合は、インストールしておいてください。

 

インストールされている場合は、easy_installコマンドが使えるので、確認。

$ easy_install --version
distribute 0.6.34

最新のpipは動かないようなので、1.4.1 をインストールする。 ※ なぜか何回かダウンロードに失敗しました。

$ easy_install https://pypi.python.org/packages/source/p/pip/pip-1.4.1.tar.gz
Downloading https://pypi.python.org/packages/source/p/pip/pip-1.4.1.tar.gz
Processing pip-1.4.1.tar.gz
Writing /tmp/easy_install-weNPEp/pip-1.4.1/setup.cfg
Running pip-1.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-weNPEp/pip-1.4.1/egg-dist-tmp-Jf26gm
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.rst' found under directory 'docs/_build'
no previously-included directories found matching 'docs/_build/_sources'
Adding pip 1.4.1 to easy-install.pth file
Installing pip script to /usr/bin
Installing pip-2.7 script to /usr/bin

Installed /usr/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg
Processing dependencies for pip==1.4.1
Finished processing dependencies for pip==1.4.1

これで pip コマンドが使えるようになりました。

$ pip help

Usage:   $ pip help

Usage: 
 pip <command> [options]

Commands:
 install Install packages.
 uninstall Uninstall packages.
 freeze Output installed packages in requirements format.
 list List installed packages.
 show Show information about installed packages.
 search Search PyPI for packages.
 wheel Build wheels from your requirements.
 zip Zip individual packages.
 unzip Unzip individual packages.
 bundle Create pybundles.
 help Show help for commands.

General Options:
 -h, --help Show help.
 -v, --verbose Give more output. Option is additive, and can be used up to 3 times.
 -V, --version Show version and exit.
 -q, --quiet Give less output.
 --log <file> Log file where a complete (maximum verbosity) record will be kept.
 --proxy <proxy> Specify a proxy in the form [user:passwd@]proxy.server:port.
 --timeout <sec> Set the socket timeout (default 15 seconds).
 --exists-action <action> Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup.
 --cert <path> Path to alternate CA bundle.
  pip <command> [options]

Commands:
  install                     Install packages.
  uninstall                   Uninstall packages.
  freeze                      Output installed packages in requirements format.
  list                        List installed packages.
  show                        Show information about installed packages.
  search                      Search PyPI for packages.
  wheel                       Build wheels from your requirements.
  zip                         Zip individual packages.
  unzip                       Unzip individual packages.
  bundle                      Create pybundles.
  help                        Show help for commands.

General Options:
  -h, --help                  Show help.
  -v, --verbose               Give more output. Option is additive, and can be used up to 3 times.
  -V, --version               Show version and exit.
  -q, --quiet                 Give less output.
  --log <file>                Log file where a complete (maximum verbosity) record will be kept.
  --proxy <proxy>             Specify a proxy in the form [user:passwd@]proxy.server:port.
  --timeout <sec>             Set the socket timeout (default 15 seconds).
  --exists-action <action>    Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup.
  --cert <path>               Path to alternate CA bundle.