|
Boost Users : |
Subject: Re: [Boost-users] importing boost-python module in python on windows
From: Seema Jaisinghani (Seema.Jaisinghani_at_[hidden])
Date: 2009-06-12 13:57:50
Thanks for the response. Simply changing the name of the extension .dll to .pyd does not help.
ImportError: DLL load failed: The specified module could not be found.
It is not a path problem, as another module in the same location can be imported correctly.
I am building the boost_extension_module in Visual Studio IDE. Is there a way to output a pyd directly, instead of dll?
What else is required to let Python know about boost_python libs?
Thanks.
Change your shared library's filename extension from .dll to .pyd. As of
Python 2.5, the Python interpreter stopped accepting .dll as a valid
extension module filename:
http://www.python.org/doc/2.5.4/whatsnew/ports.html#SECTION0001510000000000000000
"Windows: .dll is no longer supported as a filename extension for
extension modules. .pyd is now the only filename extension that will be
searched for."
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net