1. Go directly to C:\Program Files (x86)\Microsoft Visual,If VS2019 BuildTools and its corresponding VC++14 library are installed on the machine
Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include Copy the stdint.h file to the C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt directory in the directory (*14.29.30133 is the version number, which may be different depending on the version you installed) ;
2. Modify the C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\inttypes.h file: change the line 14
#include <stdint.h>
Converte it into
#include "stdint.h"
3. Execute in CMD
set CL=/FI"%VCINSTALLDIR%\\INCLUDE\\stdint.h" %CL%
4. Execute
PIP3 install pycrypto
or
pip install pycrypto
to install it.