Permissions Weirdness

Launch Cygwin with Administrator priveledges, then change the permissions for the directories /usr/lib and /usr/bin:

chmod 775 /usr/lib
chmod 775 /usr/bin

Install easy_install

Install easy install using the following command:

wget https://bootstrap.pypa.io/ez_setup.py -O - | python

Install pip

Use the following command to install pip:

easy_install pip

Oddly, I had to run this in a directory that wasn’t my home directory, but once I did, it worked fine.

Done

Now you install whatever you want using pip, things like virtualenv or flask.