I have a script that uses Crypto.Hash , but the import fails:
ImportError: No module named Crypto.Hash
in my sys.path , if I print a list of sys.path , there is this entry (among other things):
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/pycrypto-2.6
If I open the path above there is no pycrypto-2.6 directory.
How can I download pycrypto 2.6?
If I import Crypto.Hash running python from the command line, it works
I must indicate that pycrypto is supported by App Engine, it is included in this list .
In addition, I included the module in my app.yaml file:
libraries: - name: webapp2 version: "2.5.2" - name: pycrypto version: latest - name: lxml version: "2.3" - name: ssl version: latest
If I send the code during production to appengine, it works, the problem is on my system, I should probably download the compiled version of pycrypto and put it somewhere appengine can use it
Jacknova
source share