ImportError: No module named Crypto.Cipher

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.

You can see what the files are like for PyCrypto below:

I had the same problem (though on Linux). The solution was quite simple - add:

    libraries:
    - name: pycrypto
      version: "2.6"

to my app.yaml file. Since this worked correctly in the past, I assume this is a new requirement.

From: stackoverflow.com/q/19623267

Back to homepage or read more recommendations: