ImportError: cannot import name 'AES' from 'Crypto.Cipher'
Explains why from Crypto.Cipher import AES throws ImportError: cannot import name 'AES' from 'Crypto.Cipher' and how to fix it by removing broken or stale Crypto installs and reinstalling pycryptodome cleanly. Use when pycryptodome is installed but the Cipher submodule fails to import. Not for `No module named 'Cryp…