作者:Chancel, 时间:2021 Jun 15, 阅读:64
在Windows上使用pip安装 crypto
pip3 install crypto
尝试导入crypto的对象时候出现错误
>>> from Crypto.Cipher import AES
Traceback (most recent call last):
File "<stdin>" , line 1, in <module>
NoduleNotFoundError: No module name 'Crypto'
分2步解决这个问题
pip3 uninstall crypto
pip3 install pycryptodome
Linux只需要第一步