Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No module named Crypto.Cipher on local mac AppEngine

No module named Crypto.Cipher

when I try to import

from Crypto.Cipher import AES

My folder structure looks like this:

test/

test/main.py

test/pycrypto-2.3

I ran the build and install inside of the pycrypto folder but I keep getting the error, any ideas?

like image 797
Chris Avatar asked Mar 27 '11 16:03

Chris


1 Answers

It does not work with the usual easy_install, or running setup.py, depending on your Mac OS X version. This is due to how Google App Engine only allows for libraries loaded from certain directories. See here for more discussion: http://code.google.com/p/googleappengine/issues/detail?id=1627

like image 100
Asmo Soinio Avatar answered Nov 16 '22 03:11

Asmo Soinio