from Crypto.Cipher import AES
This gives me following error when executed with python3. It works fine in python2.


ImportError: No module named 'Crypto'


What is problem here?
I got the solution for this:
The pycrypto library has to be installed using pip3 instead of pip.

sudo pip3 install crypto;
sudo pip3 install pycrypto

Import works fine afterwords.
importing PyCrypto Library is not working in Python3