On Jul 14, 9:11 pm, Kay Schluehr <[EMAIL PROTECTED]> wrote:
> On 14 Jul., 06:03, moijes12 <[EMAIL PROTECTED]> wrote:
[snip]
> > Error i get is
> > ImportError: DLL load failed: The specified module could not be found.
>
> 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.

"The specified module could not be found" clearly indicates that
"Python found the module"???

I suggest a more descriptive and (Monty) Pythonic error message: "I
found a foo.pyd which looks like a DLL but it contains no 'initfoo'
entrypoint therefore I throw an ImportError and a bucketful of pig
slops in your general direction."
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to