[mod_python] Cannot Import name errors

Huzaifa Tapal huzaifa at hostway.com
Tue Sep 6 17:30:37 EDT 2005


Hello All,

I have a very odd problem with a mod_python application I am running.  
Sporadically, I will get an error in my application that states:

Import Error:  cannot import name AES

The module has a "from Crypto.Cipher import AES" line.  Not sure what 
could be causing this to happen.  I checked error logs but nothing I can 
see that would cause this to happen.  Is the python interpreter 
corrupted or something for this to happen?  I even manually load a 
python interpretor and run the import command multiple times but can't 
replicate it.

Any ideas?

Hozi



More information about the Mod_python mailing list