[C++-sig] cannot import module
Hans Meine
meine at informatik.uni-hamburg.de
Tue Jan 23 15:10:21 CET 2007
On Tuesday, 23. January 2007 07:44, Atri, Sunil wrote:
> Following the instructions on the documentation page, I placed the
> example code "spammodule.c" in the /Modules directory, After compiling I
> changed to this directory and started python there. I assume that makes
> /Modules my current directory. But I am not sure. Spammodule.o is
> present in the /Modules directory.
There should be a .so file, not only .o! You should review your build
process.
--
Ciao, / /
/--/
/ / ANS
More information about the Cplusplus-sig
mailing list