pycrypto安装出错的问题 intmax_t C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.

解决方案:

1.设置Microsoft Visual Studio 14.0的环境变量 VCINSTALLDIR 变量值 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC(默认安装位置,请根据自己的安装位置确定)如图:


2.在上面安装路径中执行 vcvarsall.bat 脚本

3.在命令行(cmd)中执行 set CL=-FI"%VCINSTALLDIR%\INCLUDE\stdint.h"

4.重新安装 pip install pycrypto

5.解决问题后请点赞哈哈

posted @ 2017-11-07 18:27  hiveme  阅读(2221)  评论(0编辑  收藏  举报