Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I install pycrypto on a 64-bit Windows 7 machine?

I tried installing PyCrypto using pip, but it complained about needing vcvarsall.bat. I installed Visual Studio 2008, but now I get ValueError: [u'path'] when I try to install it from pip.

I tried downloading a pre-built binary from Voidspace, but they only have 32-bit versions, and it doesn't seem to install correctly on my machine (it says it succeeded, but running python and trying import Crypto gives me an ImportError: No module named Crypto).

What do I need to do?

like image 360
Chris B. Avatar asked Dec 27 '22 00:12

Chris B.


1 Answers

Voidspace now has prebuilt 64bit binaries:

eg. The 64bit binary for python 2.7

like image 153
Gerrat Avatar answered Dec 29 '22 15:12

Gerrat