pycrypto安装
2017-11-13
python 2.7
- windows版本
直接下载编译好的安装包安装即可http://www.voidspace.org.uk/python/modules.shtml#pycrypto
python 3.6
- 下载一份
pycrypto源码https://github.com/dlitz/pycrypto/releases/tag/v2.6.1 - 安装
visual-cpp-build-toolshttp://landinghub.visualstudio.com/visual-cpp-build-tools - 添加环境变量
VCINSTALLDIRC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC - 在
pycrypto目录下开一个命令行窗口,执行:set CL=/FI"%VCINSTALLDIR%\\INCLUDE\\stdint.h" %CL% - 安装
pycryptopython setup.py install