Hi Dr. Wheeler,

1. lsmlib.pxd and lsmlibpyx are in the same directory.

2. When I removed /home/ba01/u142/wang1320/.pyxbld and re-ran the test, I got 
exactly the same error (compared by diff command). 

The system generated another .pyxbld under my home directory automatically when 
I imported pylsmlib. That's weird. 

Thank you.

Best,

Yunbo




On Oct 1, 2012, at 5:15 PM, Daniel Wheeler wrote:

> On Mon, Oct 1, 2012 at 5:14 PM, Daniel Wheeler
> <[email protected]> wrote:
>> On Mon, Oct 1, 2012 at 5:04 PM, wang yunbo <[email protected]> wrote:
>>> Here are the entire traceback when I attempted to import pylsmlib.
>>> 
>>> Thank you.
>>> 
>>> Yunbo
>>> 
>>> Python 2.7.2 (default, Nov 29 2011, 14:43:22)
>>> [GCC 4.5.1] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>> import pylsmlib
>>> 
>>> 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
>> 
>> Is lsmlib.pxd in the same directory as lsmlib.pyx?
>> 
>> Also, remove  "/home/ba01/u142/wang1320/.pyxbld" just in case.
>> 
>> 
>> --
>> Daniel Wheeler
> 
> 
> 
> -- 
> Daniel Wheeler
> _______________________________________________
> fipy mailing list
> [email protected]
> http://www.ctcms.nist.gov/fipy
>  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]


_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to