python3.6 pycrypto安装

版权声明:可自由转载。 https://blog.csdn.net/freeman1975/article/details/84332957

warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.

msvs2015版本号为14.0,对应环境变量VS140COMNTOOLS。要安装这个VC IDE才行。我只安装了vs2010。记得勾选VC++2015和Python Tools。
VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC 
set CL=/FI"%VCINSTALLDIR%\\INCLUDE\\stdint.h" %CL%,这个命令一定要输入。
一定要下载: pycrypto2.6.1才行。https://www.dlitz.net/software/pycrypto/
执行:python setup.py install
refer to : https://blog.csdn.net/a624806998/article/details/78596543
http://blog.51cto.com/10616534/1951821
 

猜你喜欢

转载自blog.csdn.net/freeman1975/article/details/84332957