python - How do I install PyCrypto on Windows? -


I have read every other Google source and SO thread, nothing.

Installed on Python 2.7.3 32bit Windows 7 64bit . Trying to download, remove, and then install PyCrypto's results in "Unable to locate vcvarsall.bat" in

.

So I'm installing MinGW and Nail to install the election. But then I get the error "Runtime error: CMOD error".

How come to me about this in the world? I tried to use PIP, which gives the same result. I found a prebuilt PyCrypto 2.3 binary and installed that, but it can be found on the system nowhere (not working).

Any thoughts?

If you do not already have a C / C ++ development environment installed that is distributed by PythonOnGraphic Visual Studio is compatible with binary, so you should stick to pure set only for Python packages or packages for which a Windows Binary is available.

Fortunately, there are PyCrypto binaries available for Windows:

Update:
@ Udi suggests in the comments given below, the following commands Also installs pycrypto and can be used in virtualenv :

  easy_install http: //www.voidspace. Org.uk/python/pycrypto-2.6.1/pycrypto-2.6.1.win32-py2.7.exe   

Notice for choosing relevant links for your setup

If you are looking for build for Python 3.5, see

Comments