In case you are trying to install awscli and using cygwin and getting errors.
One of the errors that I encountered was
> C:\windows-style-path-to-anaconda\python.exe: can’t open file > ‘cygdrive/c/cygdrive-style-path-to-anaconda/Scripts/aws’:
The problem is that you have installed awscli in your other python installation, could be windows anaconda.
The installation has to be there in cygwin
The solution is to install python and pip inside cygwin: Use the below commands
pip uninstall awscli
install apt-cyg /bin
apt-cyg install python
pip install awscli