Please be gentle on me. I have searched the site, and I know there is another answer to this exact question, but the answers posted there aren't working for me.
I am trying to install pycrypto, so that I can get paramiko to work. Paramiko is failing because of a missing pycrypto module. I have tried using pip install pycrypto which succeeds, but does not cure the problem.
I have tried installing a binary version of pycrypto and that doesn't solve the problem.
Now I am trying to build pycrypto. I have cygwin64 and mingw installed on my machine. The approach that gets the farthest is
python setup.py build --compiler=mingw32
This gets to an error,
checking whether we are cross compiling... configure: error: in `/cygdrive/c/Python27/pycrypto-2.6.1':
configure: error: cannot run C compiled programs.
The other answer suggests removing spaces in the path. I have tried reducing the path to simply
c:\mingw;c:\python2.7;c:\cygwin64\bin
with no change to the result?
Does anyone have a fix they can point me to? Thank you. The overall goal is to get paramiko to work. The paramiko error is
ImportError: No module named Crypto.PublicKey