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
I found the solution. Issue is probably in case sensitivity (on Windows).
Just change the name of the folder:
C:\Python27\Lib\site-packages\cryptoC:\Python27\Lib\site-packages\CryptoThis is how folder was named after installation of pycrypto:
I've changed it to:
And now the following code works fine: