So I tried to do:
pip install pycrypto --upgrade
which led me to the error:
Cannot find "vcvarsall.bat"
which led me to this solution: How to use MinGW's gcc compiler when installing Python package using Pip?
So I created a distutils.cfg and now pip uses MinGW.
But I still get an error:
error: command 'C:\\Program Files\\Cygwin\\bin\\gcc.exe' failed with exit status 1
Please help.
I have a link to the log from the install: https://dpaste.de/NhV9
I am using Windows 7 64 bit, the latest MinGW to my knowledge, and python 2.7.