0 votes
1 view
in Python by (14.5k points)

I am getting error while importing 

from Crypto.Cipher import AES 

Please help to resolve this.

Traceback (most recent call last):

File "test.py", line 2, in 

from Crypto.Cipher import AES

ImportError: No module named Crypto.Cipher

1 Answer

0 votes
by (25.1k points)

If you look closely, the error says that no module of name Crypto.Cipher, it seems that you have not installed pycrypto. Run this command:

pip install pycrypto

If you are using linux then add sudo at the beginning of the command. It will install pycrypto in your system for you to use.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...