pip install pycrypto 报错 error: command ‘C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\

1、pip install pycrypto报错如下 error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit code 2
pip install pycrypto 报错 error: command ‘C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\_第1张图片
2、搞了半天,又是下载安装 Microsoft Visual Studio 14.0 又是安装 Visual C++ Build Tools 。还是没搞定

3、谷歌一圈,百度一圈最后找到个可以解决的

 set CL=/FI"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\include\\stdint.h"

pip install pycrypto

pip install pycrypto 报错 error: command ‘C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\_第2张图片
参考:https://blog.csdn.net/lm_is_dc/article/details/109359600

你可能感兴趣的:(python,pip,microsoft,visual,studio)