ImportError: No module named Crypto.Cipher

前端 未结 25 1343
后悔当初
后悔当初 2020-11-28 04:08

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

25条回答
  •  萌比男神i
    2020-11-28 04:46

    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.

提交回复
热议问题