I py2exe-packaged a python program I have that runs fine in the shell, but when I run the exe I see:


C:\Documents and Settings\dpm\My Documents\KB\TR31\dist>tr31

Traceback (most recent call last):

  File "tr31.py", line 3, in <module>

AttributeError: 'module' object has no attribute 'AES'


TR31.py uses pycrypto, which I installed from a pre-compiled library.


Any advice about how to fix this?