首先,通过以下命令将cygwin安装为32位版本: setup-x86.exe -q -P wget -P gcc-g++ -P make -P libopenssl-devel -P python2 -P python2-devel -P python2-crypto -P python2-setuptools
确认您安装了上述要求的程序包。如果未通过上述命令安装,请确保手动安装这些程序包。
接下来安装pip: curl -kO https://bootstrap.pypa.io/get-pip.py python2 get-pip.py 将会在Cygwin的Python2环境中安装pip。
使用pip安装awscli: pip install awscli
现在您应该能够成功安装awscli。