I create a pyd File named "testPyd" with boostPython,and then I import the
testPyd module into "test.py", it works perfect!
But when I embeded the python interpreter into my C++ project and run the
"test.py", it comes out a "ImportErr: no module named testPyd".
It has confused me for two days and
Recently, I build a hybrid system with C++ and python.
First,I encapsulate a class(I can't guarantee the robustness of this
class ) with boost.python which can implement some functions that can not be
implemented by C++, I get a .pyd File in result.
Second,I embed a python interpreter in c