[C++-sig] Cannot import .pyd generated using Boost.Python on Windows XP using Mingw

Richard Starfield rstarfield at gmail.com
Thu Jul 28 23:37:38 CEST 2011


Hi,

I tried building the hello world tutorial example using bjam and it
seemed to pass the tests - the generated hello.output file contains:

> hello, world
>
> EXIT STATUS: 0

However when I copy the resulting hello_ext.pyd to the Python DLL
directory and try to

>>> import hello_ext

within Python, I get the message "ImportError: DLL load failed: The
specified module could not be found."

How do I fix this?

Thanks,
Richard.


More information about the Cplusplus-sig mailing list