问题
First I tried pip install pycryptodome
and the it says following error from Crypto.Cipher import AES ModuleNotFoundError: No module named 'Crypto'
回答1:
Check the section why-do-i-get-the-error-no-module-named-crypto-on-windows on the pycryptodome documentation page.
I hit the same issue when I first installed the incorrect module crypto instead of pycryptodome.
In this case, follow this to correct the imports:
pip uninstall crypto
pip uninstall pycryptodome
pip install pycryptodome
来源:https://stackoverflow.com/questions/62133212/from-crypto-cipher-import-aes-modulenotfounderror-no-module-named-crypto-how