我試圖用easy_install在Windows 7機器上安裝M2Crypto。但是,我收到以下錯誤:在Windows上安裝M2Crypto
SWIG_m2crypto.i(31) : Error: Unable to find 'openssl\opensslv.h'
SWIG_m2crypto.i(45) : Error: Unable to find 'openssl\safestack.h'
SWIG_evp.i(12) : Error: Unable to find 'openssl\opensslconf.h'
SWIG_ec.i(7) : Error: Unable to find 'openssl\opensslconf.h'
error: Setup script exited with error: command 'swig.exe' failed with exit status 1
有什麼建議嗎?
我試着爲Windows安裝openssl。
通過PIP安裝:'pip安裝M2CryptoWin64'(用於64位Win)或'pip安裝M2CryptoWin32'(用於32位)。見[博客](http://the.randomengineer.com/2014/07/29/ssl-for-python-m2crypto-on-windows/) – Jon 2015-08-16 03:57:50