[pycrypto] Install failure

Andrew Cooper andyhhp at gmail.com
Wed Oct 19 08:52:28 CST 2011


On 19/10/2011 15:46, Dean Macinskas wrote:
>
>  
>
> Platform: W7pro, 64-bit
>
>  
>
> I downloaded the latest version (2.3) and ran "python setup.py
> install".  Here's what I see:
>
>  
>
> C:\Users\dmacinskas\AppData\Local\Temp\pycrypto\pycrypto-2.3>python
> setup.py install
>
> running install
>
> running build
>
> running build_py
>
> running build_ext
>
> warning: GMP library not found; Not building Crypto.PublicKey._fastmath.
>
> building 'Crypto.Random.OSRNG.winrandom' extension
>
> error: Unable to find vcvarsall.bat
>
>  
>
> C:\Users\dmacinskas\AppData\Local\Temp\pycrypto\pycrypto-2.3>
>
>  
>
> This appears to defeat the install, because subsequently importing
> Crypto.Cipher produces a "module not found" error.
>
>  
>
> Any advice?
>

Do you have MSCV/MSVS installed?  You need a C compiler for "python
setup.py install" to work.

~Andrew

>  
>
> Thanks,
>
> dpm
>
>  
>
>
>
> _______________________________________________
> pycrypto mailing list
> pycrypto at lists.dlitz.net
> http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.dlitz.net/pipermail/pycrypto/attachments/20111019/6ee56825/attachment.htm 


More information about the pycrypto mailing list