On Dec 11, 3:16 pm, jim-on-linux <inq1...@inqvista.com> wrote: > Aaron, > > The TraceBack is : > > TraceBack: > File win32ui.pyc, line 12, in <module> > File win32ui.pyc Line 10, in _load > ImportError: DLL Load Failed: The specified module > could not be found. snip
> > Both modules 'win32api.pyd' and win32ui.pyd are in > > the same directory. > > > Below is a copy of the win32ui.py module. The only > > difference between this and win32api.py module is > > the name that is installed when creating the path. > > > def __load(): > > import imp, os, sys > > try: > > dirname = > > os.path.dirname(__loader__.archive) except > > NameError: > > dirname = sys.prefix > > path = os.path.join(dirname, 'win32ui.pyd') > > #print "py2exe extension module", __name__, > > "->", path > > mod = imp.load_dynamic(__name__, path) > > ## mod.frozen = 1 > > __load() > > del __load snip 'load_dynamic' help says this: "(Note: using shared libraries is highly system dependent, and not all systems support it.)" You can try this: create a bare-bones shared library, 'temp_load.pyd' perhaps, place it in the folder, and create 'temp_load.py' there too, as follows: import imp imp.load_dynamic( 'temp_load', 'temp_load.pyd' ) That will tell us if the problem is Python or win32ui. -- http://mail.python.org/mailman/listinfo/python-list