win10 64位+ python 3.6 安装pycrypto的问题解决
在安装aliyunsdkcore 模块时,遇到如下报错:
Installing collected packages: pycrypto, aliyunsdkcore
Running setup.py install for pycrypto ... error
安装pycrypto失败,查询解决方法如下:
https://github.com/dlitz/pycrypto/issues/218
I'm also get the same error. An error occurred because of a different version from the script. So, i've created a script that is less sensitive to build tool version. It works well. Thanks!
cd "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build"
vcvarsall.bat x86_amd64
cd %VCINSTALLDIR%
for /R %f in (*stdint.h) do set CL=-FI"%f"
pip install pycrypto

浙公网安备 33010602011771号