Failed to import a "pyd: File When python intepreter embed in C++ project

liujz39 at gmail.com liujz39 at gmail.com
Wed Jan 23 03:43:23 CET 2013


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 I googled for long time,but I can't find the answer!
Anybody here can help me ?
Thank you!



More information about the Python-list mailing list