From: Sharma, G. <gir...@wu...> - 2016-03-09 15:21:28
|
Dear Kloth, I cannot tell you how much helpful you were. Now, the exe is running on other computers. Thanks a lot Kloth. It would not be possible for me to get it done without your help. You are just awesome. - Girish Sharma ________________________________________ From: Jeremy Kloth <jer...@gm...> Sent: Wednesday, March 9, 2016 2:39 AM To: Sharma, Girish Cc: py2...@li... Subject: Re: [Py2exe-users] .exe file working on my computer but not other computers On Tue, Mar 8, 2016 at 11:17 PM, Sharma, Girish <gir...@wu...> wrote: > Dear Kloth, > > But the users would not wish to download and install Anaconda Python 2.7 on their computers just to run my exe. I feel There is a small mistake, which I am not able to catch. Please have a look at my setup.py file, if that helps. In short, what you have done *should* work OOTB. However, there is a bug (edge case really) within py2exe that is preventing this from working. To get you up and running, you will need to add 'libiomp5md.dll' and 'mkl_core.dll' to your DIST directory. They are located in '<anacodadir>\Library\bin'. As for the bug in py2exe, it relates to the usage of Windows API function BindImageEx() on the 'mkl_intel_thread.dll' DLL. That function is not finding any modules to bind (perhaps already bound?). The fix for this would involve reading of the PE format directly to locate the imported modules. -- Jeremy Kloth |