【python-crypto】导入crypto包失败的情况,怎么处理

【python-crypto】导入crypto包失败的情况,怎么处理

是因为你自己安装的python的版本太高,所以自己降版本吧,捣鼓了一下午

pip install crypto

pip install pycrypto

这俩包都安装吧,我降低了python的版本,然后安装这俩包之后就可以导入了

from crypto.Cipher import AES

如果还是不行,就找到crypto文件夹,重新命名成Crypto

原文地址:https://www.cnblogs.com/liuyl-2017/p/7813540.html