Vineet Jain, 14.11.2010 14:31: > Thanks. After playing with it for some time, the error went away after > I replaced > > cimport StructModulePxd > > with > > cimport<path.to.pxdfile.>StructModulePxd > > It seems that the compiler will not find a pxd file with a different > name (and no corresponding pyx file) is in the same directory as where > you are trying to import it. If I replace the cimport with a fully > qualified path then it works.
Maybe you forgot to add an __init__.py file to the package that holds your source files? Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
