{"id":1143,"hash":"e1336f309711d785970e9bceaa5bf240f7d6b13addee64e47a47144d657303e3","pattern":"ImportError: No module named Crypto.Cipher","full_message":"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 looked for duplicates and you might say that there are some, but I tried the solutions (although most are not even solutions) and nothing worked.\n\nYou can see what the files are like for PyCrypto below:","ecosystem":"pypi","package_name":"virtualenv","package_version":null,"solution":"I had the same problem (though on Linux). The solution was quite simple - add:\n\nlibraries:\n- name: pycrypto\n  version: \"2.6\"\n\nto my app.yaml file. Since this worked correctly in the past, I assume this is a new requirement.","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/19623267/importerror-no-module-named-crypto-cipher","votes":213,"created_at":"2026-04-19T04:52:25.789158+00:00","updated_at":"2026-04-19T04:52:25.789158+00:00"}