PyCrypto builds neither with MSVC nor MinGW
casevh at gmail.com
Tue Feb 7 00:27:17 CET 2012
On Feb 5, 6:40 am, Alec Taylor <alec.tayl... at gmail.com> wrote:
> PIL, PyCrypto and many other modules require a C compiler and linker.
> Unfortunately neither install on my computer, with a PATH with the following:
> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC
> Output from G:\pycrypto>vcvarsall.bat
> Setting environment for using Microsoft Visual Studio 2010 x86 tools.
> Error output from G:\pycrypto>python setup.py build --compiler msvc
A couple of comments. You will need to complile either GMP or MPIR
MPIR is a windows friendly fork of GMP and I use it create Windows
> Error output from G:\pycrypto>python setup.py build --compiler mingw32
> 1> log1 2> log2
> Will there ever be support for newer MSVC versions? - Also, why
Python 2.7 uses VS2008. I use the command line compiler included with
Microsoft's SDK 7.0 which is still available for download. I have
by-step build instructions included in gmpy's source download. I would
try to build MPIR and gmpy first and then adapt/modify the process for
MPIR home page: www.mpir.org
gmpy source: gmpy.googlecode.com/files/gmpy-1.15.zip
> doesn't even MinGW install PyCrypto for me?
> Thanks for all suggestions,
> Alec Taylor
Hope these comments help...
More information about the Python-list