I have Python 3 installed on Cygwin. However, I am unable to install Python 3 packages via pip
. Is there a way to do this?
If you have more than one python installation, then you need to install pip (and probably also setuptools) for each installation separately.
To do so, you can first download ez_setup.py and run it with python3:
/usr/bin/python3 ez_setup.py
That should install setuptools, and also create an easy_install
script for your python version, e.g. /usr/bin/easy_install-3.2
, which you can use to install pip:
/usr/bin/easy_install-3.2 pip
This will install pip into your python3 site packages directory, and again create a script /usr/bin/pip-3.2
, which you can use to install packages for this python version.
Alternatively you can follow the install instructions from here and here.