[C++-sig] embedded python ?

mad city madcitymann at gmail.com
Fri Apr 3 20:49:58 CEST 2009


Just starting out with boost-python. I have a python script that I want to
call from C++ code. I have the quickstart example working. I'm running into
a problem. The python script I'm calling includes import statements - for
example 'import os', and these are causing an exception

ImportError: __import__ not found

How do I resolve?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20090403/10bf23c9/attachment.htm>


More information about the Cplusplus-sig mailing list