[C++-sig] Re: Embedded Python plus module loading
yaoheling at yahoo.com
Mon Mar 21 15:33:37 CET 2005
if my memory serves me right, I had a similar problem
once. One has to
include Python.h or Boost.python headers before other
included. or change the linking order of shared libs.
Hope that helps.
Joseph H. Yao
On Mon, Mar 21, 2005 at 04:27:34AM -0500, David
> Daniel Holth <dholth at fastmail.fm> writes:
> > Okay, I've put a minimal example together.
> > It is the embedding example from boost, with an
"import sha" statement
> > added inside it. sha depends on some dynamically
loaded code. When I try
> > to run it, it says:
> > ImportError:
> > Py_FindMethod
> You should post this question on comp.lang.python;
it's really not a
> Boost-related problem. I'm sure someone there knows
how to deal with
> Dave Abrahams
> Boost Consulting
> C++-sig mailing list
> C++-sig at python.org
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
More information about the Cplusplus-sig