[C++-sig] boost/python tutorial

Joel de Guzman joel at boost-consulting.com
Wed Nov 21 01:44:38 CET 2007

Nguyen Xuan Son wrote:
> Hi
> I run the command line to build the \boost\libs\python\example\tutorial
>  >bjam -sPYTHON_ROOT=C:/Python24 -sPYTHON_VERSION=2.4  -sTOOLS=vc8
> I see that everything run correctly and I check the folder
> \boost\libs\python\example\tutorial\bin\hello.test\msvc-8.0\debug\threading-multi
> and the output told me everything is OK. But I find no where the DLL, 
> and I could not load the extension from the python command line:
>  >>> import hello_ext
> Traceback (most recent call last):
>   File "<pyshell#0>", line 1, in -toplevel-
>     import hello_ext
> ImportError: No module named hello_ext
> Can someone help me out of this? I really confused.

If you are using Boost 1.34 and above, please use the
new instructions here:


Joel de Guzman

More information about the Cplusplus-sig mailing list