Subj : Failed to import module when python embbed into C++ project
To : All
From : Junze Liu
Date : Tue Jan 22 2013 04:44 am
From: Junze Liu <
[email protected]>
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!
---
avast! Antivirus: Inbound message clean.
Virus Database (VPS): 130122-1, 01/22/2013
Tested on: 1/22/2013 10:43:40 PM
avast! - copyright (c) 1988-2013 AVAST Software.
http://www.avast.com
--- NewsGate v1.0 gamma 2
* Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)