我正在尝试在我的计算机上安装PyCrypto 2.6库,但我一直收到以下错误信息。
D:\Software\Python\package\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
我的系统是Windows 8 Pro 64位,安装了Visual Studio Enterprise 2012和Python 3.3。
为了修复错误,我尝试按照fmuecke在帖子error: Unable to find vcvarsall.bat中的建议设置环境变量VS90COMNTOOLS=%VS110COMNTOOLS%
,但对我没用。
请问有没有人能够建议我如何解决这个错误。
顺便说一下,我不想安装VC2008等。