Hello All, 

I am a newbee to py2exe. I am trying to wrap my code into distributed EXE to be used by some VB6 Users. However, it seems to have problem with properly including numpy >> ctypeslib >> Load_library function...
When I try to run the EXE file, I get the following is the error messages (Note geo_Bsd is HPGL package python ):

  File "geo_bsd\__init__.pyc", line 4, in <module>
  File "geo_bsd\geo.pyc", line 5, in <module>
  File "geo_bsd\hpgl_wrap.pyc", line 146, in <module>
  File "numpy\ctypeslib.pyc", line 131, in load_library
WindowsError: [Error 126] The specified module could not be found


The code uses an open-source library oackage named HPGL (High performance geostatistical library) which is infact a python wrap around a C DLL. That's why it is using the load_library in numpy.

I looked a bit through previous mailing list messages and didn't find any related topic. Hope someone can help.