Run the import with the same interpreter and environment as the failing app and note the exact error.

Check which interpreter is active and where it looks for packages.

Install pycryptodome using that interpreter's package installer.

If pycrypto is also installed, remove it first, then reinstall pycryptodome, because both provide a Crypto package and conflict.

Check for a local folder or file named Crypto in the project that shadows the installed package, and rename it if present.

Re-run the import check for AES from Crypto.Cipher in a fresh process.

Run one small AES encrypt and decrypt round trip with a test key and nonce to confirm the library works end to end.