安装pycrypto报错

报错信息

解决方法

网上有两种解决方案:pycrypto安装出错的问题

我选择第二种(更为简单):

  1. 在安装Microsoft Visual Studio的目录下(或者目录附近),找到 ..\VC\Tools\MSVC\14.10.25017\include\stdint.h并且拷贝到 ..\Windows Kits\10\Include\10.0.15063.0\ucrt

PS: 建议用everything(一个软件)搜索VC\Tools\MSVCWindows Kits\10\Include,不然他在哪个盘的哪个目录下还要找半天

  1. ..\Windows Kits\10\Include\10.0.15063.0\ucrt\inttypes.h中找到
#include 

修改为

#include "stdint.h"

解决问题

你可能感兴趣的:(bug,Windows,我的一生之敌,pip)