When I try to run app.py (Python 3.3, PyCrypto 2.6) my virtualenv keeps returning the error listed above. My import statement is just from Crypto.Cipher import AES
from Crypto.Cipher import AES
if you are using redhat,fedora, centos :
sudo yum install pycrypto
for my case I coouldnot install it using pip