Hi Yunbo, I CCed the list so we keep this chat on the searchable archive.
On Wed, Sep 19, 2012 at 5:31 PM, wang yunbo <[email protected]> wrote: > Hi Dr. Wheeler, > > I have been using your wrapper for lsmlib with fipy trunk for a long time and > enjoyed my experience with it. Excellent. I've been doing more work on this recently. I moved the wrapper from FiPy into LSMLIB (which recently moved to Github). The current incantation of the wrapper exists as part of a fork I made from the upstream Github repo. It is on the `fipy` branch of https://github.com/wd15/LSMLIB here https://github.com/wd15/LSMLIB/tree/fipy/pylsmlib This is due to be merged back into to the upstream repository, which is here https://github.com/ktchu/LSMLIB If you are planning on using FiPy along with this, you'll need the correct branch of fipy, which I haven't pushed too FiPy's git repository yet. I'll let you know when I do. Stick to the version you have until this is done. > Do you have any idea what's going on and how it can be solved? > > Attached is the error message > >>> from pylsmlib import computeDistanceFunction2d > > Error compiling Cython file: > ------------------------------------------------------------ > ... > import numpy as np > from numpy.core import intc > cimport numpy as np > from numpy.compat import asbytes > from numpy import int, double, int32 > from lsmlib cimport computeDistanceFunction2d > ^ > ------------------------------------------------------------ > > lsmlib.pyx:7:0: 'computeDistanceFunction2d.pxd' not found That is strange. What happens if you just do "cimport lsmlib" on the line before the failure? Does it see the "lsmlib.pxd" file? Why is it looking for computeDistanceFunction2d.pxd? Clearly that is not what the syntax means. Is this a really old version of Cython, which doesn't have the "from ... cimport" syntax or something weird like that? -- Daniel Wheeler _______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
