From: Jeremy K. <jer...@gm...> - 2016-03-09 08:39:40
|
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 |