importing from .pyd
moijes12 at gmail.com
Fri Aug 29 14:17:16 CEST 2008
On Jul 14, 4:11 pm, Kay Schluehr <kay.schlu... at gmx.net> wrote:
> On 14 Jul., 06:03, moijes12 <moije... at gmail.com> wrote:
> > hi
> > there is a .pyd file present in the same folder as the script abc.py
> > by the name foo.pyd .I don't have foo.py .In the script abc.py I try
> > import foo
> > Error i get is
> > ImportError: DLL load failed: The specified module could not be found.
> It looks like the module that was accessed is either corrupt
> ( unavailable entry point ) or it contains dependencies to other
> modules which are not available.
> At least the latter can be checked without access to the source using
> the DependencyWalker:
> Notice that the message clearly indicates that Python found the module
> but failed to load it i.e. performing a LoadLibrary() which yielded a
> NULL pointer.
More information about the Python-list