here's the deal.
i'm using MinGW to build a pythonC module using Swig. when i tell python to load the module, it fails and complains that python cannot find the module.
the funny thing is that the module is in the same directory (cwd) that i'm running python under and the module is named _mod.pyd. (i also have the generated mod.py file that uses _mod.pyd in the same path)
it's frustrating like you wouldn't believe!
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "mod.py", line 25, in <module>
_mod = swig_import_helper()
File "mod.py", line 21, in swig_import_helper
_mod = imp.load_module('_mod', fp, pathname, description)
ImportError: DLL load failed: The specified module could not be found.
it builds cleanly (i'm using distutils) and all my dll's are located in a directory that has been exposed to PATH.
i'm on a windowsxp+MinGW platform (latest stable MinGW).
thanks!