<div>Try to install "vcredist_x86.exe", then try to build using py2exe. I think that should solve the issue</div>
<div> </div>
<div>Regards</div>
<div>Prakash<br><br></div>
<div class="gmail_quote">On Mon, Nov 30, 2009 at 10:40 AM, koranthala <span dir="ltr"><<a href="mailto:koranthala@gmail.com">koranthala@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">This is cross post from stackoverflow - I couldnt get the solution<br>there. Hopefully, nobody would mind.<br>
<br>I am creating a medium level application in Python. Everything works<br>well now, and I am trying to make this a windows executable with<br>py2exe. The executable is created fine, but when I try to run it, it<br>fails with the following error.<br>
<br> File "zipextimporter.pyc", line 82, in load_module<br> File "pyAA\__init__.pyc", line 1, in ?<br> File "zipextimporter.pyc", line 82, in load_module<br> File "pyAA\AA.pyc", line 8, in ?<br>
 File "zipextimporter.pyc", line 82, in load_module<br> File "pyAA\pyAAc.pyc", line 5, in ?<br> File "zipextimporter.pyc", line 98, in load_module<br>ImportError: MemoryLoadLibrary failed loading pyAA\_pyAAc.pyd<br>
<br>I am using pyAA in this application. I searched internet, but was<br>unable to get any solution. I copied msvcp71.dll to windows/system32,<br>but still issue is there.<br><br>I had solved it earlier (around 7 months back), but my hard drive<br>
crashed and when I try to recreate it, I cannot seem to solve it<br>now. :-(<br><br>I would be much obliged if someone could help me out here.<br><br>When I use py2exe without bundle files option, it is working<br>perfectly. But when I use bundle file option, it is failing.<br>
<br>I tried without zipfile option, wherein it creates a library.zip<br>alongwith the executable. Again it failed. I did unzip of library.zip<br>using 7-zip, and found that _pyAAc.pyd is there in pyAA folder inside<br>the zip file. So, it looks like some issue with memoryloadlibrary<br>
function.<br><br>>dir<br>11/30/2009  09:48 AM            25,172 AA.pyc<br>11/30/2009  09:48 AM             3,351 Defer.pyc<br>11/30/2009  09:48 AM             2,311 Path.pyc<br>11/30/2009  09:48 AM            11,216 pyAAc.pyc<br>
11/30/2009  09:48 AM             5,920 Watcher.pyc<br>08/20/2005  02:00 PM            49,152 _pyAAc.pyd<br>11/30/2009  09:48 AM               162 __init__.pyc<br><br>>From the trace it does look like it can extract AA.pyc etc. I am using<br>
windows7 - can it be some clue?<br><font color="#888888">--<br><a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br></font></blockquote></div>
<br>