Stavo cercando di compilare pycrypto-2.6.1 dal sorgente per Python 2.7.10 versione Windows a 64 bit e di fronte al seguente errore.LINK: errore irreversibile LNK1104: impossibile aprire il file 'python27.lib'
Processing pycrypto-2.6.1.tar.gz
Writing c:\users\sivasuba\appdata\local\temp\easy_install-ecznz_\pycrypto-2.6.1\setup.cfg
Running pycrypto-2.6.1\setup.py -q bdist_egg --dist-dir c:\users\sivasuba\appdata\local\temp\easy_install-ecznz_\pycrypto-2.6.1\egg-dist-tmp-us3gka
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
winrand.c
LINK : fatal error LNK1104: cannot open file 'python27.lib'
error: Setup script exited with error: command 'C:\\Users\\sivasuba\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\link.exe' failed with exit status 1104
Googling non ha aiutato molto. Qualsiasi aiuto su questo sarebbe apprezzato.
P.S. Non sto cercando i binari precompilati. Il requisito è quello di costruirlo dalla fonte.
L'aggiunta al 'LIBPATH' ha risolto il problema. –