Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #37396

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

Newsgroups comp.lang.python
Date 2013-01-22 18:43 -0800
Message-ID <552da0d2-e744-4ce2-8204-14a7274515de@googlegroups.com> (permalink)
Subject Failed to import a "pyd: File When python intepreter embed in C++ project
From liujz39@gmail.com

Show all headers | View raw


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!

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Failed to import a "pyd: File When python intepreter embed in C++ project liujz39@gmail.com - 2013-01-22 18:43 -0800
  Re: Failed to import a "pyd: File When python intepreter embed in C++ project Chris Angelico <rosuav@gmail.com> - 2013-01-23 15:49 +1100
    Re: Failed to import a "pyd: File When python intepreter embed in C++ project liujz39@gmail.com - 2013-01-22 23:05 -0800
  RE: Failed to import a "pyd: File When python intepreter embed in C++ project "Leonard, Arah" <Arah.Leonard@bruker-axs.com> - 2013-01-23 16:28 +0000
    Re: Failed to import a "pyd: File When python intepreter embed in C++ project Junze Liu <liujz39@gmail.com> - 2013-01-23 18:43 -0800
    Re: Failed to import a "pyd: File When python intepreter embed in C++ project Junze Liu <liujz39@gmail.com> - 2013-01-23 18:43 -0800

csiph-web