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

2013-01-22 Thread liujz39
On Wednesday, January 23, 2013 12:49:43 PM UTC+8, Chris Angelico wrote: > > > > Thank you! > > > > First thing you should do is to get a minimal example that > > demonstrates the problem, and *copy and paste* it and the exception > > traceback. When your own spelling is as sloppy as this, we

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

2013-01-22 Thread liujz39
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