from Crypto.Cipher import AES from Crypto.Hash import MD5 from Crypto.Random import random import numpy as np
1、import的时候总是出错:from Crypto.Cipher import _AES DLL load failed 不是有效win32程序或者没有这包:
2、此时,你会采用pip install pycrypto进行安装,但是会包这个错误:
3、解决办法:这个网站下载已经编译好的exe安装包,点击直接安装即可,亲测有效
http://www.voidspace.org.uk/python/modules.shtml#pycrypto