no puedo construir en windows7

Bug #1236551 reported by Marcos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python-Crypto
New
Undecided
Unassigned

Bug Description

D:\Temporal\pycrypto-2.6>python setup.py build
running build
running build_py
running build_ext
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.

building 'Crypto.Random.OSRNG.winrandom' extension
error: Unable to find vcvarsall.bat

D:\Temporal\pycrypto-2.6>"D:\Aplicaciones\Microsoft Visual Studio 11.0\VC\vcvarsall.bat"
D:\Temporal\pycrypto-2.6>set
...
VCINSTALLDIR=D:\aplicaciones\Microsoft Visual Studio 11.0\VC\
VisualStudioVersion=11.0
VS110COMNTOOLS=D:\aplicaciones\Microsoft Visual Studio 11.0\Common7\Tools\
VSINSTALLDIR=D:\aplicaciones\Microsoft Visual Studio 11.0\
....

Revision history for this message
Richard Mitchell (mitchellrj) wrote :

What version of Python are you using? Older versions of Python look for different environmental variables.

Try running:

SET VS90COMNTOOLS=%VS110COMNTOOLS%

before setup.py build.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.