先安装 Crypto
python3 -m pip install Crypto
再安装 pycryptodome
python3 -m pip install pycryptodome
然后到python安装目录下的 Lib\site-packages 目录找到 crypto
这个文件夹,把名字改成 Crypto
,就是把首字母改成大写。这样就可以在python中引用了。 如:
from Crypto.Cipher import AES
先安装 Crypto
python3 -m pip install Crypto
再安装 pycryptodome
python3 -m pip install pycryptodome
然后到python安装目录下的 Lib\site-packages 目录找到 crypto
这个文件夹,把名字改成 Crypto
,就是把首字母改成大写。这样就可以在python中引用了。 如:
from Crypto.Cipher import AES