I have a script that uses Crypto.Hash
but import fails with error:
ImportError: No module named Crypto.Hash
in my sys.path
if I print the sys.path
list, there is this entry (among others):
/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 get to load pycrypto 2.6?
If I import Crypto.Hash
running python from command line it works
I have to point out that pycrypto is supported by App Engine, it is included in this list.
Furthermore I have 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 in production on appengine it works, the problem is in my system I should probably download a compiled version of pycrypto and put it somewhere appengine can use it